@paysponge/sdk 0.1.54 → 0.1.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/generated/openapi/apis/default-api.d.ts +24 -24
- package/dist/api/generated/openapi/apis/default-api.d.ts.map +1 -1
- package/dist/api/generated/openapi/apis/default-api.js +21 -21
- package/dist/api/generated/openapi/apis/default-api.js.map +1 -1
- package/dist/api/generated/openapi/models/index.d.ts +1 -3
- package/dist/api/generated/openapi/models/index.d.ts.map +1 -1
- package/dist/api/generated/openapi/models/index.js +1 -3
- package/dist/api/generated/openapi/models/index.js.map +1 -1
- package/dist/api/generated/openapi/models/post-api-agents-by-id-payment-methods-request.d.ts +6 -0
- package/dist/api/generated/openapi/models/post-api-agents-by-id-payment-methods-request.d.ts.map +1 -1
- package/dist/api/generated/openapi/models/post-api-agents-by-id-payment-methods-request.js +2 -0
- package/dist/api/generated/openapi/models/post-api-agents-by-id-payment-methods-request.js.map +1 -1
- package/dist/api/generated/openapi/models/post-api-cards-request.d.ts +77 -0
- package/dist/api/generated/openapi/models/post-api-cards-request.d.ts.map +1 -0
- package/dist/api/generated/openapi/models/{post-api-card-sessions-request.js → post-api-cards-request.js} +20 -11
- package/dist/api/generated/openapi/models/post-api-cards-request.js.map +1 -0
- package/dist/api/generated/openapi/models/put-api-agent-requests-by-id-approve-request.d.ts +0 -7
- package/dist/api/generated/openapi/models/put-api-agent-requests-by-id-approve-request.d.ts.map +1 -1
- package/dist/api/generated/openapi/models/put-api-agent-requests-by-id-approve-request.js +0 -3
- package/dist/api/generated/openapi/models/put-api-agent-requests-by-id-approve-request.js.map +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +19 -2
- package/dist/cli.js.map +1 -1
- package/dist/tools/definitions.d.ts.map +1 -1
- package/dist/tools/definitions.js +46 -40
- package/dist/tools/definitions.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/dist/api/generated/openapi/models/post-api-card-sessions-request.d.ts +0 -63
- package/dist/api/generated/openapi/models/post-api-card-sessions-request.d.ts.map +0 -1
- package/dist/api/generated/openapi/models/post-api-card-sessions-request.js.map +0 -1
- package/dist/api/generated/openapi/models/put-api-agent-requests-by-id-approve-request-doordash-edits-items-inner.d.ts +0 -45
- package/dist/api/generated/openapi/models/put-api-agent-requests-by-id-approve-request-doordash-edits-items-inner.d.ts.map +0 -1
- package/dist/api/generated/openapi/models/put-api-agent-requests-by-id-approve-request-doordash-edits-items-inner.js +0 -50
- package/dist/api/generated/openapi/models/put-api-agent-requests-by-id-approve-request-doordash-edits-items-inner.js.map +0 -1
- package/dist/api/generated/openapi/models/put-api-agent-requests-by-id-approve-request-doordash-edits.d.ts +0 -46
- package/dist/api/generated/openapi/models/put-api-agent-requests-by-id-approve-request-doordash-edits.d.ts.map +0 -1
- package/dist/api/generated/openapi/models/put-api-agent-requests-by-id-approve-request-doordash-edits.js +0 -47
- package/dist/api/generated/openapi/models/put-api-agent-requests-by-id-approve-request-doordash-edits.js.map +0 -1
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Sponge Wallet API
|
|
3
|
-
* REST API for the Sponge Wallet agent platform
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface PostApiCardSessionsRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface PostApiCardSessionsRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof PostApiCardSessionsRequest
|
|
22
|
-
*/
|
|
23
|
-
amount?: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof PostApiCardSessionsRequest
|
|
28
|
-
*/
|
|
29
|
-
currency?: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof PostApiCardSessionsRequest
|
|
34
|
-
*/
|
|
35
|
-
merchant_name?: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof PostApiCardSessionsRequest
|
|
40
|
-
*/
|
|
41
|
-
merchant_url?: string;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof PostApiCardSessionsRequest
|
|
46
|
-
*/
|
|
47
|
-
payment_method_id?: string;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof PostApiCardSessionsRequest
|
|
52
|
-
*/
|
|
53
|
-
agentId?: string;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* Check if a given object implements the PostApiCardSessionsRequest interface.
|
|
57
|
-
*/
|
|
58
|
-
export declare function instanceOfPostApiCardSessionsRequest(value: object): value is PostApiCardSessionsRequest;
|
|
59
|
-
export declare function PostApiCardSessionsRequestFromJSON(json: any): PostApiCardSessionsRequest;
|
|
60
|
-
export declare function PostApiCardSessionsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostApiCardSessionsRequest;
|
|
61
|
-
export declare function PostApiCardSessionsRequestToJSON(json: any): PostApiCardSessionsRequest;
|
|
62
|
-
export declare function PostApiCardSessionsRequestToJSONTyped(value?: PostApiCardSessionsRequest | null, ignoreDiscriminator?: boolean): any;
|
|
63
|
-
//# sourceMappingURL=post-api-card-sessions-request.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"post-api-card-sessions-request.d.ts","sourceRoot":"","sources":["../../../../../src/api/generated/openapi/models/post-api-card-sessions-request.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,wBAAgB,oCAAoC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,0BAA0B,CAEvG;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAExF;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,0BAA0B,CAa3H;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAEtF;AAED,wBAAgB,qCAAqC,CAAC,KAAK,CAAC,EAAE,0BAA0B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAc1I"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"post-api-card-sessions-request.js","sourceRoot":"","sources":["../../../../../src/api/generated/openapi/models/post-api-card-sessions-request.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AA+CH;;GAEG;AACH,MAAM,UAAU,oCAAoC,CAAC,KAAa;IAC9D,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,kCAAkC,CAAC,IAAS;IACxD,OAAO,uCAAuC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChE,CAAC;AAED,MAAM,UAAU,uC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Ae,EAAE,KAAK,CAAC,eAAe,CAAC;QACvC,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC;QACrC,mBAAmB,EAAE,KAAK,CAAC,mBAAmB,CAAC;QAC/C,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;KAC9B,CAAC;AACN,CAAC"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Sponge Wallet API
|
|
3
|
-
* REST API for the Sponge Wallet agent platform
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface PutApiAgentRequestsByIdApproveRequestDoordashEditsItemsInner
|
|
16
|
-
*/
|
|
17
|
-
export interface PutApiAgentRequestsByIdApproveRequestDoordashEditsItemsInner {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof PutApiAgentRequestsByIdApproveRequestDoordashEditsItemsInner
|
|
22
|
-
*/
|
|
23
|
-
name: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof PutApiAgentRequestsByIdApproveRequestDoordashEditsItemsInner
|
|
28
|
-
*/
|
|
29
|
-
quantity: number;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof PutApiAgentRequestsByIdApproveRequestDoordashEditsItemsInner
|
|
34
|
-
*/
|
|
35
|
-
specialInstructions?: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the PutApiAgentRequestsByIdApproveRequestDoordashEditsItemsInner interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfPutApiAgentRequestsByIdApproveRequestDoordashEditsItemsInner(value: object): value is PutApiAgentRequestsByIdApproveRequestDoordashEditsItemsInner;
|
|
41
|
-
export declare function PutApiAgentRequestsByIdApproveRequestDoordashEditsItemsInnerFromJSON(json: any): PutApiAgentRequestsByIdApproveRequestDoordashEditsItemsInner;
|
|
42
|
-
export declare function PutApiAgentRequestsByIdApproveRequestDoordashEditsItemsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutApiAgentRequestsByIdApproveRequestDoordashEditsItemsInner;
|
|
43
|
-
export declare function PutApiAgentRequestsByIdApproveRequestDoordashEditsItemsInnerToJSON(json: any): PutApiAgentRequestsByIdApproveRequestDoordashEditsItemsInner;
|
|
44
|
-
export declare function PutApiAgentRequestsByIdApproveRequestDoordashEditsItemsInnerToJSONTyped(value?: PutApiAgentRequestsByIdApproveRequestDoordashEditsItemsInner | null, ignoreDiscriminator?: boolean): any;
|
|
45
|
-
//# sourceMappingURL=put-api-agent-requests-by-id-approve-request-doordash-edits-items-inner.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"put-api-agent-requests-by-id-approve-request-doordash-edits-items-inner.d.ts","sourceRoot":"","sources":["../../../../../src/api/generated/openapi/models/put-api-agent-requests-by-id-approve-request-doordash-edits-items-inner.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,4DAA4D;IACzE;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED;;GAEG;AACH,wBAAgB,sEAAsE,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,4DAA4D,CAI3K;AAED,wBAAgB,oEAAoE,CAAC,IAAI,EAAE,GAAG,GAAG,4DAA4D,CAE5J;AAED,wBAAgB,yEAAyE,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,4DAA4D,CAU/L;AAED,wBAAgB,kEAAkE,CAAC,IAAI,EAAE,GAAG,GAAG,4DAA4D,CAE1J;AAED,wBAAgB,uEAAuE,CAAC,KAAK,CAAC,EAAE,4DAA4D,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW9M"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Sponge Wallet API
|
|
5
|
-
* REST API for the Sponge Wallet agent platform
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* Check if a given object implements the PutApiAgentRequestsByIdApproveRequestDoordashEditsItemsInner interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfPutApiAgentRequestsByIdApproveRequestDoordashEditsItemsInner(value) {
|
|
18
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
19
|
-
return false;
|
|
20
|
-
if (!('quantity' in value) || value['quantity'] === undefined)
|
|
21
|
-
return false;
|
|
22
|
-
return true;
|
|
23
|
-
}
|
|
24
|
-
export function PutApiAgentRequestsByIdApproveRequestDoordashEditsItemsInnerFromJSON(json) {
|
|
25
|
-
return PutApiAgentRequestsByIdApproveRequestDoordashEditsItemsInnerFromJSONTyped(json, false);
|
|
26
|
-
}
|
|
27
|
-
export function PutApiAgentRequestsByIdApproveRequestDoordashEditsItemsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
-
if (json == null) {
|
|
29
|
-
return json;
|
|
30
|
-
}
|
|
31
|
-
return {
|
|
32
|
-
'name': json['name'],
|
|
33
|
-
'quantity': json['quantity'],
|
|
34
|
-
'specialInstructions': json['specialInstructions'] == null ? undefined : json['specialInstructions'],
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
export function PutApiAgentRequestsByIdApproveRequestDoordashEditsItemsInnerToJSON(json) {
|
|
38
|
-
return PutApiAgentRequestsByIdApproveRequestDoordashEditsItemsInnerToJSONTyped(json, false);
|
|
39
|
-
}
|
|
40
|
-
export function PutApiAgentRequestsByIdApproveRequestDoordashEditsItemsInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
-
if (value == null) {
|
|
42
|
-
return value;
|
|
43
|
-
}
|
|
44
|
-
return {
|
|
45
|
-
'name': value['name'],
|
|
46
|
-
'quantity': value['quantity'],
|
|
47
|
-
'specialInstructions': value['specialInstructions'],
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
//# sourceMappingURL=put-api-agent-requests-by-id-approve-request-doordash-edits-items-inner.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"put-api-agent-requests-by-id-approve-request-doordash-edits-items-inner.js","sourceRoot":"","sources":["../../../../../src/api/generated/openapi/models/put-api-agent-requests-by-id-approve-request-doordash-edits-items-inner.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AA6BH;;GAEG;AACH,MAAM,UAAU,sEAAsE,CAAC,KAAa;IAChG,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,IAAI,CAAC,CAAC,UAAU,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,UAAU,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC5E,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,oEAAoE,CAAC,IAAS;IAC1F,OAAO,yEAAyE,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAClG,CAAC;AAED,MAAM,UAAU,yEAAyE,CAAC,IAAS,EAAE,mBAA4B;IAC7H,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;QACpB,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;QAC5B,qBAAqB,EAAE,IAAI,CAAC,qBAAqB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC;KACvG,CAAC;AACN,CAAC;AAED,MAAM,UAAU,kEAAkE,CAAC,IAAS;IACxF,OAAO,uEAAuE,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChG,CAAC;AAED,MAAM,UAAU,uEAAuE,CAAC,KAA2E,EAAE,sBAA+B,KAAK;IACrM,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,qBAAqB,EAAE,KAAK,CAAC,qBAAqB,CAAC;KACtD,CAAC;AACN,CAAC"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Sponge Wallet API
|
|
3
|
-
* REST API for the Sponge Wallet agent platform
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { PutApiAgentRequestsByIdApproveRequestDoordashEditsItemsInner } from './put-api-agent-requests-by-id-approve-request-doordash-edits-items-inner.js';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface PutApiAgentRequestsByIdApproveRequestDoordashEdits
|
|
17
|
-
*/
|
|
18
|
-
export interface PutApiAgentRequestsByIdApproveRequestDoordashEdits {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof PutApiAgentRequestsByIdApproveRequestDoordashEdits
|
|
23
|
-
*/
|
|
24
|
-
restaurantName?: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {Array<PutApiAgentRequestsByIdApproveRequestDoordashEditsItemsInner>}
|
|
28
|
-
* @memberof PutApiAgentRequestsByIdApproveRequestDoordashEdits
|
|
29
|
-
*/
|
|
30
|
-
items?: Array<PutApiAgentRequestsByIdApproveRequestDoordashEditsItemsInner>;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof PutApiAgentRequestsByIdApproveRequestDoordashEdits
|
|
35
|
-
*/
|
|
36
|
-
deliveryAddress?: string;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the PutApiAgentRequestsByIdApproveRequestDoordashEdits interface.
|
|
40
|
-
*/
|
|
41
|
-
export declare function instanceOfPutApiAgentRequestsByIdApproveRequestDoordashEdits(value: object): value is PutApiAgentRequestsByIdApproveRequestDoordashEdits;
|
|
42
|
-
export declare function PutApiAgentRequestsByIdApproveRequestDoordashEditsFromJSON(json: any): PutApiAgentRequestsByIdApproveRequestDoordashEdits;
|
|
43
|
-
export declare function PutApiAgentRequestsByIdApproveRequestDoordashEditsFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutApiAgentRequestsByIdApproveRequestDoordashEdits;
|
|
44
|
-
export declare function PutApiAgentRequestsByIdApproveRequestDoordashEditsToJSON(json: any): PutApiAgentRequestsByIdApproveRequestDoordashEdits;
|
|
45
|
-
export declare function PutApiAgentRequestsByIdApproveRequestDoordashEditsToJSONTyped(value?: PutApiAgentRequestsByIdApproveRequestDoordashEdits | null, ignoreDiscriminator?: boolean): any;
|
|
46
|
-
//# sourceMappingURL=put-api-agent-requests-by-id-approve-request-doordash-edits.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"put-api-agent-requests-by-id-approve-request-doordash-edits.d.ts","sourceRoot":"","sources":["../../../../../src/api/generated/openapi/models/put-api-agent-requests-by-id-approve-request-doordash-edits.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,4DAA4D,EAAE,MAAM,8EAA8E,CAAC;AAQjK;;;;GAIG;AACH,MAAM,WAAW,kDAAkD;IAC/D;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,4DAA4D,CAAC,CAAC;IAC5E;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED;;GAEG;AACH,wBAAgB,4DAA4D,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,kDAAkD,CAEvJ;AAED,wBAAgB,0DAA0D,CAAC,IAAI,EAAE,GAAG,GAAG,kDAAkD,CAExI;AAED,wBAAgB,+DAA+D,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,kDAAkD,CAU3K;AAED,wBAAgB,wDAAwD,CAAC,IAAI,EAAE,GAAG,GAAG,kDAAkD,CAEtI;AAED,wBAAgB,6DAA6D,CAAC,KAAK,CAAC,EAAE,kDAAkD,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW1L"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Sponge Wallet API
|
|
5
|
-
* REST API for the Sponge Wallet agent platform
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
import { PutApiAgentRequestsByIdApproveRequestDoordashEditsItemsInnerFromJSON, PutApiAgentRequestsByIdApproveRequestDoordashEditsItemsInnerToJSON, } from './put-api-agent-requests-by-id-approve-request-doordash-edits-items-inner.js';
|
|
15
|
-
/**
|
|
16
|
-
* Check if a given object implements the PutApiAgentRequestsByIdApproveRequestDoordashEdits interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfPutApiAgentRequestsByIdApproveRequestDoordashEdits(value) {
|
|
19
|
-
return true;
|
|
20
|
-
}
|
|
21
|
-
export function PutApiAgentRequestsByIdApproveRequestDoordashEditsFromJSON(json) {
|
|
22
|
-
return PutApiAgentRequestsByIdApproveRequestDoordashEditsFromJSONTyped(json, false);
|
|
23
|
-
}
|
|
24
|
-
export function PutApiAgentRequestsByIdApproveRequestDoordashEditsFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
-
if (json == null) {
|
|
26
|
-
return json;
|
|
27
|
-
}
|
|
28
|
-
return {
|
|
29
|
-
'restaurantName': json['restaurantName'] == null ? undefined : json['restaurantName'],
|
|
30
|
-
'items': json['items'] == null ? undefined : (json['items'].map(PutApiAgentRequestsByIdApproveRequestDoordashEditsItemsInnerFromJSON)),
|
|
31
|
-
'deliveryAddress': json['deliveryAddress'] == null ? undefined : json['deliveryAddress'],
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
export function PutApiAgentRequestsByIdApproveRequestDoordashEditsToJSON(json) {
|
|
35
|
-
return PutApiAgentRequestsByIdApproveRequestDoordashEditsToJSONTyped(json, false);
|
|
36
|
-
}
|
|
37
|
-
export function PutApiAgentRequestsByIdApproveRequestDoordashEditsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
-
if (value == null) {
|
|
39
|
-
return value;
|
|
40
|
-
}
|
|
41
|
-
return {
|
|
42
|
-
'restaurantName': value['restaurantName'],
|
|
43
|
-
'items': value['items'] == null ? undefined : (value['items'].map(PutApiAgentRequestsByIdApproveRequestDoordashEditsItemsInnerToJSON)),
|
|
44
|
-
'deliveryAddress': value['deliveryAddress'],
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
//# sourceMappingURL=put-api-agent-requests-by-id-approve-request-doordash-edits.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"put-api-agent-requests-by-id-approve-request-doordash-edits.js","sourceRoot":"","sources":["../../../../../src/api/generated/openapi/models/put-api-agent-requests-by-id-approve-request-doordash-edits.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,oEAAoE,EAEpE,kEAAkE,GAErE,MAAM,8EAA8E,CAAC;AA4BtF;;GAEG;AACH,MAAM,UAAU,4DAA4D,CAAC,KAAa;IACtF,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,0DAA0D,CAAC,IAAS;IAChF,OAAO,+DAA+D,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACxF,CAAC;AAED,MAAM,UAAU,+DAA+D,CAAC,IAAS,EAAE,mBAA4B;IACnH,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC;QACrF,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,IAAI,CAAC,OAAO,CAAgB,CAAC,GAAG,CAAC,oEAAoE,CAAC,CAAC;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