@@ -7637,6 +7637,123 @@ paths:
76377637 application/json:
76387638 schema:
76397639 $ref: '#/components/schemas/404'
7640+ /admin/corporate_cards/unarchive:
7641+ post:
7642+ tags:
7643+ - Corporate Cards
7644+ summary: Unarchive a corporate card
7645+ description: |
7646+ Unarchive a corporate card
7647+ operationId: corporate_cards_unarchive
7648+ requestBody:
7649+ required: true
7650+ content:
7651+ application/json:
7652+ schema:
7653+ type: object
7654+ properties:
7655+ data:
7656+ $ref: '#/components/schemas/corporate_card_unarchive_in'
7657+ required:
7658+ - data
7659+ additionalProperties: false
7660+ responses:
7661+ '200':
7662+ description: OK
7663+ content:
7664+ application/json:
7665+ schema:
7666+ type: object
7667+ properties:
7668+ data:
7669+ $ref: '#/components/schemas/corporate_card_out'
7670+ '400':
7671+ description: Bad request
7672+ content:
7673+ application/json:
7674+ schema:
7675+ $ref: '#/components/schemas/400'
7676+ '401':
7677+ description: Unauthorized request
7678+ content:
7679+ application/json:
7680+ schema:
7681+ $ref: '#/components/schemas/401'
7682+ '403':
7683+ description: Forbidden
7684+ content:
7685+ application/json:
7686+ schema:
7687+ $ref: '#/components/schemas/403'
7688+ '404':
7689+ description: Not Found
7690+ content:
7691+ application/json:
7692+ schema:
7693+ $ref: '#/components/schemas/404'
7694+ /admin/corporate_cards/unarchive/bulk:
7695+ post:
7696+ tags:
7697+ - Corporate Cards
7698+ summary: Bulk unarchive corporate cards
7699+ description: |
7700+ Unarchive corporate cards in bulk.
7701+ operationId: corporate_cards_unarchive_bulk
7702+ requestBody:
7703+ required: true
7704+ content:
7705+ application/json:
7706+ schema:
7707+ type: object
7708+ properties:
7709+ data:
7710+ type: array
7711+ items:
7712+ $ref: '#/components/schemas/corporate_card_unarchive_in'
7713+ required:
7714+ - data
7715+ responses:
7716+ '200':
7717+ description: OK
7718+ content:
7719+ application/json:
7720+ schema:
7721+ type: object
7722+ properties:
7723+ data:
7724+ type: array
7725+ items:
7726+ $ref: '#/components/schemas/corporate_card_out'
7727+ '400':
7728+ description: Bad request
7729+ content:
7730+ application/json:
7731+ schema:
7732+ oneOf:
7733+ - $ref: '#/components/schemas/bulk_error'
7734+ - type: object
7735+ properties:
7736+ error:
7737+ type: string
7738+ nullable: true
7739+ message:
7740+ type: string
7741+ nullable: true
7742+ data:
7743+ type: object
7744+ nullable: true
7745+ '401':
7746+ description: Unauthorized request
7747+ content:
7748+ application/json:
7749+ schema:
7750+ $ref: '#/components/schemas/401'
7751+ '403':
7752+ description: Forbidden
7753+ content:
7754+ application/json:
7755+ schema:
7756+ $ref: '#/components/schemas/403'
76407757 /admin/corporate_cards/duplicate_suggestions:
76417758 get:
76427759 tags:
@@ -23731,6 +23848,15 @@ components:
2373123848 example: bawownwrng
2373223849 required:
2373323850 - id
23851+ corporate_card_unarchive_in:
23852+ type: object
23853+ properties:
23854+ id:
23855+ allOf:
23856+ - $ref: '#/components/schemas/id_string'
23857+ example: bawownwrng
23858+ required:
23859+ - id
2373423860 duplicate_suggestion_corporate_card_out_embed:
2373523861 type: object
2373623862 additionalProperties: false
0 commit comments