@spaceinvoices/js-sdk 2.1.0 → 2.2.0
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/generated/model/createWebhookBodyEventsItem.d.cts +11 -0
- package/dist/generated/model/createWebhookBodyEventsItem.d.ts +11 -0
- package/dist/generated/model/createWebhookBodyEventsItem.d.ts.map +1 -1
- package/dist/generated/model/fiscalizeDocumentParams.d.cts +15 -0
- package/dist/generated/model/fiscalizeDocumentParams.d.ts +15 -0
- package/dist/generated/model/fiscalizeDocumentParams.d.ts.map +1 -0
- package/dist/generated/model/fiscalizeDocumentType.d.cts +15 -0
- package/dist/generated/model/fiscalizeDocumentType.d.ts +15 -0
- package/dist/generated/model/fiscalizeDocumentType.d.ts.map +1 -0
- package/dist/generated/model/index.d.cts +2 -0
- package/dist/generated/model/index.d.ts +2 -0
- package/dist/generated/model/index.d.ts.map +1 -1
- package/dist/generated/model/updateWebhookBodyEventsItem.d.cts +11 -0
- package/dist/generated/model/updateWebhookBodyEventsItem.d.ts +11 -0
- package/dist/generated/model/updateWebhookBodyEventsItem.d.ts.map +1 -1
- package/dist/generated/model/webhookResponseEventsItem.d.cts +11 -0
- package/dist/generated/model/webhookResponseEventsItem.d.ts +11 -0
- package/dist/generated/model/webhookResponseEventsItem.d.ts.map +1 -1
- package/dist/generated/model/webhookWithSecretEventsItem.d.cts +11 -0
- package/dist/generated/model/webhookWithSecretEventsItem.d.ts +11 -0
- package/dist/generated/model/webhookWithSecretEventsItem.d.ts.map +1 -1
- package/dist/generated-zod/webhooks/webhooks.d.cts +66 -0
- package/dist/generated-zod/webhooks/webhooks.d.ts +66 -0
- package/dist/generated-zod/webhooks/webhooks.d.ts.map +1 -1
- package/dist/index.cjs +52 -52
- package/dist/index.cjs.map +11 -10
- package/dist/index.js +52 -52
- package/dist/index.js.map +11 -10
- package/dist/sdk/activities.d.cts +3 -1
- package/dist/sdk/activities.d.ts +3 -1
- package/dist/sdk/activities.d.ts.map +1 -1
- package/dist/sdk/advance-invoices.d.cts +3 -1
- package/dist/sdk/advance-invoices.d.ts +3 -1
- package/dist/sdk/advance-invoices.d.ts.map +1 -1
- package/dist/sdk/client.d.cts +43 -14
- package/dist/sdk/client.d.ts +43 -14
- package/dist/sdk/client.d.ts.map +1 -1
- package/dist/sdk/credit-notes.d.cts +3 -1
- package/dist/sdk/credit-notes.d.ts +3 -1
- package/dist/sdk/credit-notes.d.ts.map +1 -1
- package/dist/sdk/customers.d.cts +3 -1
- package/dist/sdk/customers.d.ts +3 -1
- package/dist/sdk/customers.d.ts.map +1 -1
- package/dist/sdk/entities.d.cts +3 -1
- package/dist/sdk/entities.d.ts +3 -1
- package/dist/sdk/entities.d.ts.map +1 -1
- package/dist/sdk/estimates.d.cts +3 -1
- package/dist/sdk/estimates.d.ts +3 -1
- package/dist/sdk/estimates.d.ts.map +1 -1
- package/dist/sdk/files.d.cts +3 -1
- package/dist/sdk/files.d.ts +3 -1
- package/dist/sdk/files.d.ts.map +1 -1
- package/dist/sdk/invoices.d.cts +3 -1
- package/dist/sdk/invoices.d.ts +3 -1
- package/dist/sdk/invoices.d.ts.map +1 -1
- package/dist/sdk/items.d.cts +3 -1
- package/dist/sdk/items.d.ts +3 -1
- package/dist/sdk/items.d.ts.map +1 -1
- package/dist/sdk/order-integrations.d.cts +3 -1
- package/dist/sdk/order-integrations.d.ts +3 -1
- package/dist/sdk/order-integrations.d.ts.map +1 -1
- package/dist/sdk/orders.d.cts +3 -1
- package/dist/sdk/orders.d.ts +3 -1
- package/dist/sdk/orders.d.ts.map +1 -1
- package/dist/sdk/payments.d.cts +3 -1
- package/dist/sdk/payments.d.ts +3 -1
- package/dist/sdk/payments.d.ts.map +1 -1
- package/dist/sdk/taxes.d.cts +3 -1
- package/dist/sdk/taxes.d.ts +3 -1
- package/dist/sdk/taxes.d.ts.map +1 -1
- package/dist/sdk/users.d.cts +2 -0
- package/dist/sdk/users.d.ts +2 -0
- package/dist/sdk/users.d.ts.map +1 -1
- package/dist/sdk/utils.d.cts +5 -2
- package/dist/sdk/utils.d.ts +5 -2
- package/dist/sdk/utils.d.ts.map +1 -1
- package/dist/sdk/webhooks.d.cts +3 -1
- package/dist/sdk/webhooks.d.ts +3 -1
- package/dist/sdk/webhooks.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
*/
|
|
6
6
|
export declare const activities: {
|
|
7
7
|
/** @see getActivities */
|
|
8
|
-
readonly list: (options?: import("
|
|
8
|
+
readonly list: (options?: (Omit<import("..").GetActivitiesParams, "order_by"> & {
|
|
9
|
+
order_by?: string;
|
|
10
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetActivitiesResponse>;
|
|
9
11
|
};
|
|
10
12
|
export type ActivitiesApi = typeof activities;
|
|
11
13
|
//# sourceMappingURL=activities.d.ts.map
|
package/dist/sdk/activities.d.ts
CHANGED
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
*/
|
|
6
6
|
export declare const activities: {
|
|
7
7
|
/** @see getActivities */
|
|
8
|
-
readonly list: (options?: import("
|
|
8
|
+
readonly list: (options?: (Omit<import("..").GetActivitiesParams, "order_by"> & {
|
|
9
|
+
order_by?: string;
|
|
10
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetActivitiesResponse>;
|
|
9
11
|
};
|
|
10
12
|
export type ActivitiesApi = typeof activities;
|
|
11
13
|
//# sourceMappingURL=activities.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activities.d.ts","sourceRoot":"","sources":["../../src/sdk/activities.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,eAAO,MAAM,UAAU;IACrB,yBAAyB
|
|
1
|
+
{"version":3,"file":"activities.d.ts","sourceRoot":"","sources":["../../src/sdk/activities.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,eAAO,MAAM,UAAU;IACrB,yBAAyB;;;;CAEjB,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,OAAO,UAAU,CAAC"}
|
|
@@ -13,7 +13,9 @@ export declare const advanceInvoices: {
|
|
|
13
13
|
/** @see createAdvanceInvoice */
|
|
14
14
|
readonly create: (createAdvanceInvoiceBody: import("..").CreateAdvanceInvoiceRequest, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").AdvanceInvoice>;
|
|
15
15
|
/** @see getAdvanceInvoices */
|
|
16
|
-
readonly list: (options?: import("
|
|
16
|
+
readonly list: (options?: (Omit<import("..").GetAdvanceInvoicesParams, "order_by"> & {
|
|
17
|
+
order_by?: string;
|
|
18
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetAdvanceInvoicesResponse>;
|
|
17
19
|
/** @see getAdvanceInvoiceById */
|
|
18
20
|
readonly get: (id: string, params?: import("..").GetAdvanceInvoiceByIdParams | undefined, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").AdvanceInvoice>;
|
|
19
21
|
/** @see updateAdvanceInvoice */
|
|
@@ -13,7 +13,9 @@ export declare const advanceInvoices: {
|
|
|
13
13
|
/** @see createAdvanceInvoice */
|
|
14
14
|
readonly create: (createAdvanceInvoiceBody: import("..").CreateAdvanceInvoiceRequest, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").AdvanceInvoice>;
|
|
15
15
|
/** @see getAdvanceInvoices */
|
|
16
|
-
readonly list: (options?: import("
|
|
16
|
+
readonly list: (options?: (Omit<import("..").GetAdvanceInvoicesParams, "order_by"> & {
|
|
17
|
+
order_by?: string;
|
|
18
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetAdvanceInvoicesResponse>;
|
|
17
19
|
/** @see getAdvanceInvoiceById */
|
|
18
20
|
readonly get: (id: string, params?: import("..").GetAdvanceInvoiceByIdParams | undefined, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").AdvanceInvoice>;
|
|
19
21
|
/** @see updateAdvanceInvoice */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"advance-invoices.d.ts","sourceRoot":"","sources":["../../src/sdk/advance-invoices.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAgBH,eAAO,MAAM,eAAe;IAC1B,sCAAsC;;IAGtC,0CAA0C;;IAG1C,yCAAyC;;IAGzC,gCAAgC;;IAGhC,8BAA8B
|
|
1
|
+
{"version":3,"file":"advance-invoices.d.ts","sourceRoot":"","sources":["../../src/sdk/advance-invoices.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAgBH,eAAO,MAAM,eAAe;IAC1B,sCAAsC;;IAGtC,0CAA0C;;IAG1C,yCAAyC;;IAGzC,gCAAgC;;IAGhC,8BAA8B;;;;IAG9B,iCAAiC;;IAGjC,gCAAgC;;IAGhC,oCAAoC;;IAGpC,uCAAuC;;CAE/B,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAAG,OAAO,eAAe,CAAC"}
|
package/dist/sdk/client.d.cts
CHANGED
|
@@ -28,7 +28,9 @@ export declare class SpaceInvoices {
|
|
|
28
28
|
readonly getShareableAdvanceInvoiceHtml: (shareableId: string, params?: import("..").GetShareableAdvanceInvoiceHtmlParams | undefined, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<string>;
|
|
29
29
|
readonly getShareableAdvanceInvoicePdf: (shareableId: string, params?: import("..").GetShareableAdvanceInvoicePdfParams | undefined, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<Blob>;
|
|
30
30
|
readonly create: (createAdvanceInvoiceBody: import("..").CreateAdvanceInvoiceRequest, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").AdvanceInvoice>;
|
|
31
|
-
readonly list: (options?: import("
|
|
31
|
+
readonly list: (options?: (Omit<import("..").GetAdvanceInvoicesParams, "order_by"> & {
|
|
32
|
+
order_by?: string;
|
|
33
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetAdvanceInvoicesResponse>;
|
|
32
34
|
readonly get: (id: string, params?: import("..").GetAdvanceInvoiceByIdParams | undefined, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").AdvanceInvoice>;
|
|
33
35
|
readonly update: (id: string, updateAdvanceInvoiceBody: import("..").UpdateAdvanceInvoiceBody, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").AdvanceInvoice>;
|
|
34
36
|
readonly getVersion: (id: string, version: number, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").DocumentVersion>;
|
|
@@ -36,7 +38,9 @@ export declare class SpaceInvoices {
|
|
|
36
38
|
};
|
|
37
39
|
readonly customers: {
|
|
38
40
|
readonly create: (createCustomerBody: import("..").CreateCustomerRequest, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").Customer>;
|
|
39
|
-
readonly list: (options?: import("
|
|
41
|
+
readonly list: (options?: (Omit<import("..").GetCustomersParams, "order_by"> & {
|
|
42
|
+
order_by?: string;
|
|
43
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetCustomersResponse>;
|
|
40
44
|
readonly get: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").Customer>;
|
|
41
45
|
readonly update: (id: string, updateCustomerBody: import("..").UpdateCustomerBody, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").Customer>;
|
|
42
46
|
readonly delete: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<void>;
|
|
@@ -48,7 +52,9 @@ export declare class SpaceInvoices {
|
|
|
48
52
|
};
|
|
49
53
|
readonly payments: {
|
|
50
54
|
readonly create: (createPaymentBody: import("..").CreatePaymentRequest, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").PaymentResponse>;
|
|
51
|
-
readonly list: (options?: import("
|
|
55
|
+
readonly list: (options?: (Omit<import("..").GetPaymentsParams, "order_by"> & {
|
|
56
|
+
order_by?: string;
|
|
57
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetPaymentsResponse>;
|
|
52
58
|
readonly get: (id: string, params?: import("..").GetPaymentByIdParams | undefined, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").PaymentResponse>;
|
|
53
59
|
readonly update: (id: string, updatePaymentBody: import("..").UpdatePaymentBody, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").PaymentResponse>;
|
|
54
60
|
readonly delete: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<void>;
|
|
@@ -68,7 +74,9 @@ export declare class SpaceInvoices {
|
|
|
68
74
|
readonly getShareableInvoicePdf: (shareableId: string, params?: import("..").GetShareableInvoicePdfParams | undefined, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<Blob>;
|
|
69
75
|
readonly getShareableInvoiceEslog: (shareableId: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<string>;
|
|
70
76
|
readonly create: (createInvoiceBody: import("..").CreateInvoiceRequest, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").Invoice>;
|
|
71
|
-
readonly list: (options?: import("
|
|
77
|
+
readonly list: (options?: (Omit<import("..").GetInvoicesParams, "order_by"> & {
|
|
78
|
+
order_by?: string;
|
|
79
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetInvoicesResponse>;
|
|
72
80
|
readonly get: (id: string, params?: import("..").GetInvoiceByIdParams | undefined, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").Invoice>;
|
|
73
81
|
readonly update: (id: string, updateInvoiceBody: import("..").UpdateInvoiceBody, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").Invoice>;
|
|
74
82
|
readonly getVersion: (id: string, version: number, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").DocumentVersion>;
|
|
@@ -85,7 +93,9 @@ export declare class SpaceInvoices {
|
|
|
85
93
|
readonly getShareableEstimateHtml: (shareableId: string, params?: import("..").GetShareableEstimateHtmlParams | undefined, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<string>;
|
|
86
94
|
readonly getShareableEstimatePdf: (shareableId: string, params?: import("..").GetShareableEstimatePdfParams | undefined, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<Blob>;
|
|
87
95
|
readonly create: (createEstimateBody: import("..").CreateEstimateRequest, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").Estimate>;
|
|
88
|
-
readonly list: (options?: import("
|
|
96
|
+
readonly list: (options?: (Omit<import("..").GetEstimatesParams, "order_by"> & {
|
|
97
|
+
order_by?: string;
|
|
98
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetEstimatesResponse>;
|
|
89
99
|
readonly get: (id: string, params?: import("..").GetEstimateByIdParams | undefined, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").Estimate>;
|
|
90
100
|
readonly update: (id: string, updateEstimateBody: import("..").UpdateEstimateBody, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").Estimate>;
|
|
91
101
|
readonly getVersion: (id: string, version: number, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").DocumentVersion>;
|
|
@@ -101,7 +111,9 @@ export declare class SpaceInvoices {
|
|
|
101
111
|
readonly orderIntegrations: {
|
|
102
112
|
readonly authorizeShopify: (authorizeShopifyBody: import("..").AuthorizeShopifyBody, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").ShopifyAuthorizeResponse>;
|
|
103
113
|
readonly create: (createOrderIntegrationBody: import("..").CreateOrderIntegrationBody, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").OrderIntegration>;
|
|
104
|
-
readonly list: (options?: import("
|
|
114
|
+
readonly list: (options?: (Omit<import("..").GetOrderIntegrationsParams, "order_by"> & {
|
|
115
|
+
order_by?: string;
|
|
116
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetOrderIntegrations200>;
|
|
105
117
|
readonly get: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").OrderIntegration>;
|
|
106
118
|
readonly update: (id: string, updateOrderIntegrationBody: import("..").UpdateOrderIntegrationBody, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").OrderIntegration>;
|
|
107
119
|
readonly delete: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<void>;
|
|
@@ -172,7 +184,9 @@ export declare class SpaceInvoices {
|
|
|
172
184
|
};
|
|
173
185
|
readonly taxes: {
|
|
174
186
|
readonly create: (createTaxBody: import("..").CreateTaxRequest, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").CreateTax201>;
|
|
175
|
-
readonly list: (options?: import("
|
|
187
|
+
readonly list: (options?: (Omit<import("..").GetTaxesParams, "order_by"> & {
|
|
188
|
+
order_by?: string;
|
|
189
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetTaxesResponse>;
|
|
176
190
|
readonly update: (id: string, updateTaxBody: import("..").UpdateTaxBody, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").UpdateTax200>;
|
|
177
191
|
readonly replaceTax: (id: string, replaceTaxBody: import("..").ReplaceTaxBody, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").ReplaceTax200>;
|
|
178
192
|
readonly delete: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<void>;
|
|
@@ -182,15 +196,20 @@ export declare class SpaceInvoices {
|
|
|
182
196
|
readonly users: {
|
|
183
197
|
readonly getMe: (args_0?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").User>;
|
|
184
198
|
readonly update: (patchMeBody: import("..").PatchMeBody, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").User>;
|
|
199
|
+
readonly updateFursSettings: (updateUserFursSettingsBody: import("..").UpdateUserFursSettingsBody, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").User>;
|
|
185
200
|
};
|
|
186
201
|
readonly files: {
|
|
187
202
|
readonly uploadFile: (uploadFileBody: import("..").UploadFileBody, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").FileMetadata>;
|
|
188
|
-
readonly list: (options?: import("
|
|
203
|
+
readonly list: (options?: (Omit<import("..").GetFilesParams, "order_by"> & {
|
|
204
|
+
order_by?: string;
|
|
205
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetFiles200>;
|
|
189
206
|
readonly get: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").FileMetadata>;
|
|
190
207
|
readonly delete: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<void>;
|
|
191
208
|
};
|
|
192
209
|
readonly activities: {
|
|
193
|
-
readonly list: (options?: import("
|
|
210
|
+
readonly list: (options?: (Omit<import("..").GetActivitiesParams, "order_by"> & {
|
|
211
|
+
order_by?: string;
|
|
212
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetActivitiesResponse>;
|
|
194
213
|
};
|
|
195
214
|
readonly entityUsers: {
|
|
196
215
|
readonly list: (args_0?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").EntityUsersList>;
|
|
@@ -217,7 +236,9 @@ export declare class SpaceInvoices {
|
|
|
217
236
|
};
|
|
218
237
|
readonly orders: {
|
|
219
238
|
readonly create: (createOrderBody: import("..").CreateOrderBody, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").Order>;
|
|
220
|
-
readonly list: (options?: import("
|
|
239
|
+
readonly list: (options?: (Omit<import("..").GetOrdersParams, "order_by"> & {
|
|
240
|
+
order_by?: string;
|
|
241
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetOrders200>;
|
|
221
242
|
readonly get: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").Order>;
|
|
222
243
|
readonly update: (id: string, updateOrderBody: import("..").UpdateOrderBody, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").Order>;
|
|
223
244
|
readonly delete: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<void>;
|
|
@@ -238,7 +259,9 @@ export declare class SpaceInvoices {
|
|
|
238
259
|
};
|
|
239
260
|
readonly items: {
|
|
240
261
|
readonly create: (createItemBody: import("..").CreateItemRequest, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").CreateItem201>;
|
|
241
|
-
readonly list: (options?: import("
|
|
262
|
+
readonly list: (options?: (Omit<import("..").GetItemsParams, "order_by"> & {
|
|
263
|
+
order_by?: string;
|
|
264
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetItemsResponse>;
|
|
242
265
|
readonly delete: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<void>;
|
|
243
266
|
readonly restoreItem: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").RestoreItem200>;
|
|
244
267
|
readonly permanentDeleteItem: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<void>;
|
|
@@ -252,7 +275,9 @@ export declare class SpaceInvoices {
|
|
|
252
275
|
};
|
|
253
276
|
readonly webhooks: {
|
|
254
277
|
readonly create: (createWebhookBody: import("..").CreateWebhookBody, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").WebhookWithSecret>;
|
|
255
|
-
readonly list: (options?: import("
|
|
278
|
+
readonly list: (options?: (Omit<import("..").GetWebhooksParams, "order_by"> & {
|
|
279
|
+
order_by?: string;
|
|
280
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetWebhooks200>;
|
|
256
281
|
readonly get: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").WebhookResponse>;
|
|
257
282
|
readonly update: (id: string, updateWebhookBody: import("..").UpdateWebhookBody, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").WebhookResponse>;
|
|
258
283
|
readonly delete: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").DeleteWebhook200>;
|
|
@@ -269,7 +294,9 @@ export declare class SpaceInvoices {
|
|
|
269
294
|
readonly getShareableCreditNotePdf: (shareableId: string, params?: import("..").GetShareableCreditNotePdfParams | undefined, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<Blob>;
|
|
270
295
|
readonly getShareableCreditNoteEslog: (shareableId: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<string>;
|
|
271
296
|
readonly create: (createCreditNoteBody: import("..").CreateCreditNoteRequest, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").CreditNote>;
|
|
272
|
-
readonly list: (options?: import("
|
|
297
|
+
readonly list: (options?: (Omit<import("..").GetCreditNotesParams, "order_by"> & {
|
|
298
|
+
order_by?: string;
|
|
299
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetCreditNotesResponse>;
|
|
273
300
|
readonly get: (id: string, params?: import("..").GetCreditNoteByIdParams | undefined, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").CreditNote>;
|
|
274
301
|
readonly update: (id: string, updateCreditNoteBody: import("..").UpdateCreditNoteBody, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").CreditNote>;
|
|
275
302
|
readonly getVersion: (id: string, version: number, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").DocumentVersion>;
|
|
@@ -287,7 +314,9 @@ export declare class SpaceInvoices {
|
|
|
287
314
|
};
|
|
288
315
|
readonly entities: {
|
|
289
316
|
readonly create: (createEntityBody: import("..").CreateEntityRequest, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").CreateEntity201>;
|
|
290
|
-
readonly list: (options?: import("
|
|
317
|
+
readonly list: (options?: (Omit<import("..").GetEntitiesParams, "order_by"> & {
|
|
318
|
+
order_by?: string;
|
|
319
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetEntitiesResponse>;
|
|
291
320
|
readonly update: (id: string, patchEntityBody: import("..").PatchEntityRequest, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").PatchEntity200>;
|
|
292
321
|
readonly enableEntity: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").EnableEntity200>;
|
|
293
322
|
readonly disableEntity: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").DisableEntity200>;
|
package/dist/sdk/client.d.ts
CHANGED
|
@@ -28,7 +28,9 @@ export declare class SpaceInvoices {
|
|
|
28
28
|
readonly getShareableAdvanceInvoiceHtml: (shareableId: string, params?: import("..").GetShareableAdvanceInvoiceHtmlParams | undefined, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<string>;
|
|
29
29
|
readonly getShareableAdvanceInvoicePdf: (shareableId: string, params?: import("..").GetShareableAdvanceInvoicePdfParams | undefined, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<Blob>;
|
|
30
30
|
readonly create: (createAdvanceInvoiceBody: import("..").CreateAdvanceInvoiceRequest, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").AdvanceInvoice>;
|
|
31
|
-
readonly list: (options?: import("
|
|
31
|
+
readonly list: (options?: (Omit<import("..").GetAdvanceInvoicesParams, "order_by"> & {
|
|
32
|
+
order_by?: string;
|
|
33
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetAdvanceInvoicesResponse>;
|
|
32
34
|
readonly get: (id: string, params?: import("..").GetAdvanceInvoiceByIdParams | undefined, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").AdvanceInvoice>;
|
|
33
35
|
readonly update: (id: string, updateAdvanceInvoiceBody: import("..").UpdateAdvanceInvoiceBody, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").AdvanceInvoice>;
|
|
34
36
|
readonly getVersion: (id: string, version: number, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").DocumentVersion>;
|
|
@@ -36,7 +38,9 @@ export declare class SpaceInvoices {
|
|
|
36
38
|
};
|
|
37
39
|
readonly customers: {
|
|
38
40
|
readonly create: (createCustomerBody: import("..").CreateCustomerRequest, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").Customer>;
|
|
39
|
-
readonly list: (options?: import("
|
|
41
|
+
readonly list: (options?: (Omit<import("..").GetCustomersParams, "order_by"> & {
|
|
42
|
+
order_by?: string;
|
|
43
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetCustomersResponse>;
|
|
40
44
|
readonly get: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").Customer>;
|
|
41
45
|
readonly update: (id: string, updateCustomerBody: import("..").UpdateCustomerBody, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").Customer>;
|
|
42
46
|
readonly delete: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<void>;
|
|
@@ -48,7 +52,9 @@ export declare class SpaceInvoices {
|
|
|
48
52
|
};
|
|
49
53
|
readonly payments: {
|
|
50
54
|
readonly create: (createPaymentBody: import("..").CreatePaymentRequest, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").PaymentResponse>;
|
|
51
|
-
readonly list: (options?: import("
|
|
55
|
+
readonly list: (options?: (Omit<import("..").GetPaymentsParams, "order_by"> & {
|
|
56
|
+
order_by?: string;
|
|
57
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetPaymentsResponse>;
|
|
52
58
|
readonly get: (id: string, params?: import("..").GetPaymentByIdParams | undefined, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").PaymentResponse>;
|
|
53
59
|
readonly update: (id: string, updatePaymentBody: import("..").UpdatePaymentBody, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").PaymentResponse>;
|
|
54
60
|
readonly delete: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<void>;
|
|
@@ -68,7 +74,9 @@ export declare class SpaceInvoices {
|
|
|
68
74
|
readonly getShareableInvoicePdf: (shareableId: string, params?: import("..").GetShareableInvoicePdfParams | undefined, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<Blob>;
|
|
69
75
|
readonly getShareableInvoiceEslog: (shareableId: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<string>;
|
|
70
76
|
readonly create: (createInvoiceBody: import("..").CreateInvoiceRequest, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").Invoice>;
|
|
71
|
-
readonly list: (options?: import("
|
|
77
|
+
readonly list: (options?: (Omit<import("..").GetInvoicesParams, "order_by"> & {
|
|
78
|
+
order_by?: string;
|
|
79
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetInvoicesResponse>;
|
|
72
80
|
readonly get: (id: string, params?: import("..").GetInvoiceByIdParams | undefined, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").Invoice>;
|
|
73
81
|
readonly update: (id: string, updateInvoiceBody: import("..").UpdateInvoiceBody, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").Invoice>;
|
|
74
82
|
readonly getVersion: (id: string, version: number, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").DocumentVersion>;
|
|
@@ -85,7 +93,9 @@ export declare class SpaceInvoices {
|
|
|
85
93
|
readonly getShareableEstimateHtml: (shareableId: string, params?: import("..").GetShareableEstimateHtmlParams | undefined, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<string>;
|
|
86
94
|
readonly getShareableEstimatePdf: (shareableId: string, params?: import("..").GetShareableEstimatePdfParams | undefined, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<Blob>;
|
|
87
95
|
readonly create: (createEstimateBody: import("..").CreateEstimateRequest, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").Estimate>;
|
|
88
|
-
readonly list: (options?: import("
|
|
96
|
+
readonly list: (options?: (Omit<import("..").GetEstimatesParams, "order_by"> & {
|
|
97
|
+
order_by?: string;
|
|
98
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetEstimatesResponse>;
|
|
89
99
|
readonly get: (id: string, params?: import("..").GetEstimateByIdParams | undefined, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").Estimate>;
|
|
90
100
|
readonly update: (id: string, updateEstimateBody: import("..").UpdateEstimateBody, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").Estimate>;
|
|
91
101
|
readonly getVersion: (id: string, version: number, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").DocumentVersion>;
|
|
@@ -101,7 +111,9 @@ export declare class SpaceInvoices {
|
|
|
101
111
|
readonly orderIntegrations: {
|
|
102
112
|
readonly authorizeShopify: (authorizeShopifyBody: import("..").AuthorizeShopifyBody, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").ShopifyAuthorizeResponse>;
|
|
103
113
|
readonly create: (createOrderIntegrationBody: import("..").CreateOrderIntegrationBody, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").OrderIntegration>;
|
|
104
|
-
readonly list: (options?: import("
|
|
114
|
+
readonly list: (options?: (Omit<import("..").GetOrderIntegrationsParams, "order_by"> & {
|
|
115
|
+
order_by?: string;
|
|
116
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetOrderIntegrations200>;
|
|
105
117
|
readonly get: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").OrderIntegration>;
|
|
106
118
|
readonly update: (id: string, updateOrderIntegrationBody: import("..").UpdateOrderIntegrationBody, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").OrderIntegration>;
|
|
107
119
|
readonly delete: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<void>;
|
|
@@ -172,7 +184,9 @@ export declare class SpaceInvoices {
|
|
|
172
184
|
};
|
|
173
185
|
readonly taxes: {
|
|
174
186
|
readonly create: (createTaxBody: import("..").CreateTaxRequest, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").CreateTax201>;
|
|
175
|
-
readonly list: (options?: import("
|
|
187
|
+
readonly list: (options?: (Omit<import("..").GetTaxesParams, "order_by"> & {
|
|
188
|
+
order_by?: string;
|
|
189
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetTaxesResponse>;
|
|
176
190
|
readonly update: (id: string, updateTaxBody: import("..").UpdateTaxBody, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").UpdateTax200>;
|
|
177
191
|
readonly replaceTax: (id: string, replaceTaxBody: import("..").ReplaceTaxBody, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").ReplaceTax200>;
|
|
178
192
|
readonly delete: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<void>;
|
|
@@ -182,15 +196,20 @@ export declare class SpaceInvoices {
|
|
|
182
196
|
readonly users: {
|
|
183
197
|
readonly getMe: (args_0?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").User>;
|
|
184
198
|
readonly update: (patchMeBody: import("..").PatchMeBody, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").User>;
|
|
199
|
+
readonly updateFursSettings: (updateUserFursSettingsBody: import("..").UpdateUserFursSettingsBody, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").User>;
|
|
185
200
|
};
|
|
186
201
|
readonly files: {
|
|
187
202
|
readonly uploadFile: (uploadFileBody: import("..").UploadFileBody, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").FileMetadata>;
|
|
188
|
-
readonly list: (options?: import("
|
|
203
|
+
readonly list: (options?: (Omit<import("..").GetFilesParams, "order_by"> & {
|
|
204
|
+
order_by?: string;
|
|
205
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetFiles200>;
|
|
189
206
|
readonly get: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").FileMetadata>;
|
|
190
207
|
readonly delete: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<void>;
|
|
191
208
|
};
|
|
192
209
|
readonly activities: {
|
|
193
|
-
readonly list: (options?: import("
|
|
210
|
+
readonly list: (options?: (Omit<import("..").GetActivitiesParams, "order_by"> & {
|
|
211
|
+
order_by?: string;
|
|
212
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetActivitiesResponse>;
|
|
194
213
|
};
|
|
195
214
|
readonly entityUsers: {
|
|
196
215
|
readonly list: (args_0?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").EntityUsersList>;
|
|
@@ -217,7 +236,9 @@ export declare class SpaceInvoices {
|
|
|
217
236
|
};
|
|
218
237
|
readonly orders: {
|
|
219
238
|
readonly create: (createOrderBody: import("..").CreateOrderBody, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").Order>;
|
|
220
|
-
readonly list: (options?: import("
|
|
239
|
+
readonly list: (options?: (Omit<import("..").GetOrdersParams, "order_by"> & {
|
|
240
|
+
order_by?: string;
|
|
241
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetOrders200>;
|
|
221
242
|
readonly get: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").Order>;
|
|
222
243
|
readonly update: (id: string, updateOrderBody: import("..").UpdateOrderBody, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").Order>;
|
|
223
244
|
readonly delete: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<void>;
|
|
@@ -238,7 +259,9 @@ export declare class SpaceInvoices {
|
|
|
238
259
|
};
|
|
239
260
|
readonly items: {
|
|
240
261
|
readonly create: (createItemBody: import("..").CreateItemRequest, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").CreateItem201>;
|
|
241
|
-
readonly list: (options?: import("
|
|
262
|
+
readonly list: (options?: (Omit<import("..").GetItemsParams, "order_by"> & {
|
|
263
|
+
order_by?: string;
|
|
264
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetItemsResponse>;
|
|
242
265
|
readonly delete: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<void>;
|
|
243
266
|
readonly restoreItem: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").RestoreItem200>;
|
|
244
267
|
readonly permanentDeleteItem: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<void>;
|
|
@@ -252,7 +275,9 @@ export declare class SpaceInvoices {
|
|
|
252
275
|
};
|
|
253
276
|
readonly webhooks: {
|
|
254
277
|
readonly create: (createWebhookBody: import("..").CreateWebhookBody, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").WebhookWithSecret>;
|
|
255
|
-
readonly list: (options?: import("
|
|
278
|
+
readonly list: (options?: (Omit<import("..").GetWebhooksParams, "order_by"> & {
|
|
279
|
+
order_by?: string;
|
|
280
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetWebhooks200>;
|
|
256
281
|
readonly get: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").WebhookResponse>;
|
|
257
282
|
readonly update: (id: string, updateWebhookBody: import("..").UpdateWebhookBody, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").WebhookResponse>;
|
|
258
283
|
readonly delete: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").DeleteWebhook200>;
|
|
@@ -269,7 +294,9 @@ export declare class SpaceInvoices {
|
|
|
269
294
|
readonly getShareableCreditNotePdf: (shareableId: string, params?: import("..").GetShareableCreditNotePdfParams | undefined, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<Blob>;
|
|
270
295
|
readonly getShareableCreditNoteEslog: (shareableId: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<string>;
|
|
271
296
|
readonly create: (createCreditNoteBody: import("..").CreateCreditNoteRequest, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").CreditNote>;
|
|
272
|
-
readonly list: (options?: import("
|
|
297
|
+
readonly list: (options?: (Omit<import("..").GetCreditNotesParams, "order_by"> & {
|
|
298
|
+
order_by?: string;
|
|
299
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetCreditNotesResponse>;
|
|
273
300
|
readonly get: (id: string, params?: import("..").GetCreditNoteByIdParams | undefined, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").CreditNote>;
|
|
274
301
|
readonly update: (id: string, updateCreditNoteBody: import("..").UpdateCreditNoteBody, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").CreditNote>;
|
|
275
302
|
readonly getVersion: (id: string, version: number, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").DocumentVersion>;
|
|
@@ -287,7 +314,9 @@ export declare class SpaceInvoices {
|
|
|
287
314
|
};
|
|
288
315
|
readonly entities: {
|
|
289
316
|
readonly create: (createEntityBody: import("..").CreateEntityRequest, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").CreateEntity201>;
|
|
290
|
-
readonly list: (options?: import("
|
|
317
|
+
readonly list: (options?: (Omit<import("..").GetEntitiesParams, "order_by"> & {
|
|
318
|
+
order_by?: string;
|
|
319
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetEntitiesResponse>;
|
|
291
320
|
readonly update: (id: string, patchEntityBody: import("..").PatchEntityRequest, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").PatchEntity200>;
|
|
292
321
|
readonly enableEntity: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").EnableEntity200>;
|
|
293
322
|
readonly disableEntity: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").DisableEntity200>;
|
package/dist/sdk/client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/sdk/client.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAuCH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AASzC;;;;;;;;;;;;;;;;;GAiBG;AACH,qBAAa,aAAa;IACxB,QAAQ,CAAC,eAAe
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/sdk/client.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAuCH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AASzC;;;;;;;;;;;;;;;;;GAiBG;AACH,qBAAa,aAAa;IACxB,QAAQ,CAAC,eAAe;;;;;;;;;;;;MAAmB;IAC3C,QAAQ,CAAC,SAAS;;;;;;;;;;MAAa;IAC/B,QAAQ,CAAC,UAAU;;MAAc;IACjC,QAAQ,CAAC,QAAQ;;;;;;;;;;MAAY;IAC7B,QAAQ,CAAC,cAAc;;;MAAkB;IACzC,QAAQ,CAAC,MAAM;;MAAU;IACzB,QAAQ,CAAC,QAAQ;;;;;;;;;;;;;;;;MAAY;IAC7B,QAAQ,CAAC,IAAI;;MAAQ;IACrB,QAAQ,CAAC,SAAS;;;;;;;;;;;;MAAa;IAC/B,QAAQ,CAAC,YAAY;;;MAAgB;IACrC,QAAQ,CAAC,MAAM;;MAAU;IACzB,QAAQ,CAAC,iBAAiB;;;;;;;;;MAAqB;IAC/C,QAAQ,CAAC,WAAW;;;;MAAe;IACnC,QAAQ,CAAC,SAAS;;;;;;;;;;;;;;;;;MAAa;IAC/B,QAAQ,CAAC,eAAe;;;;MAAmB;IAC3C,QAAQ,CAAC,YAAY;;;;;;MAAgB;IACrC,QAAQ,CAAC,iBAAiB;;;;;;;;;MAAqB;IAC/C,QAAQ,CAAC,eAAe;;;;MAAmB;IAC3C,QAAQ,CAAC,WAAW;;MAAe;IACnC,QAAQ,CAAC,OAAO;;;MAAW;IAC3B,QAAQ,CAAC,eAAe;;;MAAmB;IAC3C,QAAQ,CAAC,WAAW;;MAAe;IACnC,QAAQ,CAAC,KAAK;;;;;;;;;;MAAS;IACvB,QAAQ,CAAC,KAAK;;;;MAAS;IACvB,QAAQ,CAAC,KAAK;;;;;;;MAAS;IACvB,QAAQ,CAAC,UAAU;;;;MAAc;IACjC,QAAQ,CAAC,WAAW;;;;;;MAAe;IACnC,QAAQ,CAAC,SAAS;;;;;;;;;;MAAa;IAC/B,QAAQ,CAAC,WAAW;;;;MAAe;IACnC,QAAQ,CAAC,MAAM;;;;;;;;;;MAAU;IACzB,QAAQ,CAAC,aAAa;;;;MAAiB;IACvC,QAAQ,CAAC,uBAAuB;;;;;;MAA2B;IAC3D,QAAQ,CAAC,KAAK;;;;;;;;MAAS;IACvB,QAAQ,CAAC,YAAY;;;;;;MAAgB;IACrC,QAAQ,CAAC,QAAQ;;;;;;;;;;MAAY;IAC7B,QAAQ,CAAC,YAAY;;;MAAgB;IACrC,QAAQ,CAAC,WAAW;;;;;;;;;;;;;MAAe;IACnC,QAAQ,CAAC,iBAAiB;;;;;;MAAqB;IAC/C,QAAQ,CAAC,KAAK;;MAAS;IACvB,QAAQ,CAAC,QAAQ;;;;;;;;MAAY;IAC7B,QAAQ,CAAC,MAAM;;MAAU;gBAEb,MAAM,EAAE,SAAS,GAAG,MAAM;CAcvC;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -15,7 +15,9 @@ export declare const creditNotes: {
|
|
|
15
15
|
/** @see createCreditNote */
|
|
16
16
|
readonly create: (createCreditNoteBody: import("..").CreateCreditNoteRequest, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").CreditNote>;
|
|
17
17
|
/** @see getCreditNotes */
|
|
18
|
-
readonly list: (options?: import("
|
|
18
|
+
readonly list: (options?: (Omit<import("..").GetCreditNotesParams, "order_by"> & {
|
|
19
|
+
order_by?: string;
|
|
20
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetCreditNotesResponse>;
|
|
19
21
|
/** @see getCreditNoteById */
|
|
20
22
|
readonly get: (id: string, params?: import("..").GetCreditNoteByIdParams | undefined, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").CreditNote>;
|
|
21
23
|
/** @see updateCreditNote */
|
|
@@ -15,7 +15,9 @@ export declare const creditNotes: {
|
|
|
15
15
|
/** @see createCreditNote */
|
|
16
16
|
readonly create: (createCreditNoteBody: import("..").CreateCreditNoteRequest, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").CreditNote>;
|
|
17
17
|
/** @see getCreditNotes */
|
|
18
|
-
readonly list: (options?: import("
|
|
18
|
+
readonly list: (options?: (Omit<import("..").GetCreditNotesParams, "order_by"> & {
|
|
19
|
+
order_by?: string;
|
|
20
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetCreditNotesResponse>;
|
|
19
21
|
/** @see getCreditNoteById */
|
|
20
22
|
readonly get: (id: string, params?: import("..").GetCreditNoteByIdParams | undefined, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").CreditNote>;
|
|
21
23
|
/** @see updateCreditNote */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credit-notes.d.ts","sourceRoot":"","sources":["../../src/sdk/credit-notes.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAiBH,eAAO,MAAM,WAAW;IACtB,kCAAkC;;IAGlC,sCAAsC;;IAGtC,qCAAqC;;IAGrC,uCAAuC;;IAGvC,4BAA4B;;IAG5B,0BAA0B
|
|
1
|
+
{"version":3,"file":"credit-notes.d.ts","sourceRoot":"","sources":["../../src/sdk/credit-notes.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAiBH,eAAO,MAAM,WAAW;IACtB,kCAAkC;;IAGlC,sCAAsC;;IAGtC,qCAAqC;;IAGrC,uCAAuC;;IAGvC,4BAA4B;;IAG5B,0BAA0B;;;;IAG1B,6BAA6B;;IAG7B,4BAA4B;;IAG5B,gCAAgC;;IAGhC,mCAAmC;;CAE3B,CAAC;AAEX,MAAM,MAAM,cAAc,GAAG,OAAO,WAAW,CAAC"}
|
package/dist/sdk/customers.d.cts
CHANGED
|
@@ -7,7 +7,9 @@ export declare const customers: {
|
|
|
7
7
|
/** @see createCustomer */
|
|
8
8
|
readonly create: (createCustomerBody: import("..").CreateCustomerRequest, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").Customer>;
|
|
9
9
|
/** @see getCustomers */
|
|
10
|
-
readonly list: (options?: import("
|
|
10
|
+
readonly list: (options?: (Omit<import("..").GetCustomersParams, "order_by"> & {
|
|
11
|
+
order_by?: string;
|
|
12
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetCustomersResponse>;
|
|
11
13
|
/** @see getCustomerById */
|
|
12
14
|
readonly get: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").Customer>;
|
|
13
15
|
/** @see updateCustomer */
|
package/dist/sdk/customers.d.ts
CHANGED
|
@@ -7,7 +7,9 @@ export declare const customers: {
|
|
|
7
7
|
/** @see createCustomer */
|
|
8
8
|
readonly create: (createCustomerBody: import("..").CreateCustomerRequest, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").Customer>;
|
|
9
9
|
/** @see getCustomers */
|
|
10
|
-
readonly list: (options?: import("
|
|
10
|
+
readonly list: (options?: (Omit<import("..").GetCustomersParams, "order_by"> & {
|
|
11
|
+
order_by?: string;
|
|
12
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetCustomersResponse>;
|
|
11
13
|
/** @see getCustomerById */
|
|
12
14
|
readonly get: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").Customer>;
|
|
13
15
|
/** @see updateCustomer */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customers.d.ts","sourceRoot":"","sources":["../../src/sdk/customers.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAcH,eAAO,MAAM,SAAS;IACpB,0BAA0B;;IAG1B,wBAAwB
|
|
1
|
+
{"version":3,"file":"customers.d.ts","sourceRoot":"","sources":["../../src/sdk/customers.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAcH,eAAO,MAAM,SAAS;IACpB,0BAA0B;;IAG1B,wBAAwB;;;;IAGxB,2BAA2B;;IAG3B,0BAA0B;;IAG1B,0BAA0B;;IAG1B,2BAA2B;;IAG3B,mCAAmC;;CAE3B,CAAC;AAEX,MAAM,MAAM,YAAY,GAAG,OAAO,SAAS,CAAC"}
|
package/dist/sdk/entities.d.cts
CHANGED
|
@@ -7,7 +7,9 @@ export declare const entities: {
|
|
|
7
7
|
/** @see createEntity */
|
|
8
8
|
readonly create: (createEntityBody: import("..").CreateEntityRequest, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").CreateEntity201>;
|
|
9
9
|
/** @see getEntities */
|
|
10
|
-
readonly list: (options?: import("
|
|
10
|
+
readonly list: (options?: (Omit<import("..").GetEntitiesParams, "order_by"> & {
|
|
11
|
+
order_by?: string;
|
|
12
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetEntitiesResponse>;
|
|
11
13
|
/** @see patchEntity */
|
|
12
14
|
readonly update: (id: string, patchEntityBody: import("..").PatchEntityRequest, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").PatchEntity200>;
|
|
13
15
|
/** @see enableEntity */
|
package/dist/sdk/entities.d.ts
CHANGED
|
@@ -7,7 +7,9 @@ export declare const entities: {
|
|
|
7
7
|
/** @see createEntity */
|
|
8
8
|
readonly create: (createEntityBody: import("..").CreateEntityRequest, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").CreateEntity201>;
|
|
9
9
|
/** @see getEntities */
|
|
10
|
-
readonly list: (options?: import("
|
|
10
|
+
readonly list: (options?: (Omit<import("..").GetEntitiesParams, "order_by"> & {
|
|
11
|
+
order_by?: string;
|
|
12
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetEntitiesResponse>;
|
|
11
13
|
/** @see patchEntity */
|
|
12
14
|
readonly update: (id: string, patchEntityBody: import("..").PatchEntityRequest, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").PatchEntity200>;
|
|
13
15
|
/** @see enableEntity */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../src/sdk/entities.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,eAAO,MAAM,QAAQ;IACnB,wBAAwB;;IAGxB,uBAAuB
|
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../src/sdk/entities.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,eAAO,MAAM,QAAQ;IACnB,wBAAwB;;IAGxB,uBAAuB;;;;IAGvB,uBAAuB;;IAGvB,wBAAwB;;IAGxB,yBAAyB;;CAEjB,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,OAAO,QAAQ,CAAC"}
|
package/dist/sdk/estimates.d.cts
CHANGED
|
@@ -13,7 +13,9 @@ export declare const estimates: {
|
|
|
13
13
|
/** @see createEstimate */
|
|
14
14
|
readonly create: (createEstimateBody: import("..").CreateEstimateRequest, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").Estimate>;
|
|
15
15
|
/** @see getEstimates */
|
|
16
|
-
readonly list: (options?: import("
|
|
16
|
+
readonly list: (options?: (Omit<import("..").GetEstimatesParams, "order_by"> & {
|
|
17
|
+
order_by?: string;
|
|
18
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetEstimatesResponse>;
|
|
17
19
|
/** @see getEstimateById */
|
|
18
20
|
readonly get: (id: string, params?: import("..").GetEstimateByIdParams | undefined, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").Estimate>;
|
|
19
21
|
/** @see updateEstimate */
|
package/dist/sdk/estimates.d.ts
CHANGED
|
@@ -13,7 +13,9 @@ export declare const estimates: {
|
|
|
13
13
|
/** @see createEstimate */
|
|
14
14
|
readonly create: (createEstimateBody: import("..").CreateEstimateRequest, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").Estimate>;
|
|
15
15
|
/** @see getEstimates */
|
|
16
|
-
readonly list: (options?: import("
|
|
16
|
+
readonly list: (options?: (Omit<import("..").GetEstimatesParams, "order_by"> & {
|
|
17
|
+
order_by?: string;
|
|
18
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetEstimatesResponse>;
|
|
17
19
|
/** @see getEstimateById */
|
|
18
20
|
readonly get: (id: string, params?: import("..").GetEstimateByIdParams | undefined, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").Estimate>;
|
|
19
21
|
/** @see updateEstimate */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"estimates.d.ts","sourceRoot":"","sources":["../../src/sdk/estimates.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAgBH,eAAO,MAAM,SAAS;IACpB,gCAAgC;;IAGhC,oCAAoC;;IAGpC,mCAAmC;;IAGnC,0BAA0B;;IAG1B,wBAAwB
|
|
1
|
+
{"version":3,"file":"estimates.d.ts","sourceRoot":"","sources":["../../src/sdk/estimates.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAgBH,eAAO,MAAM,SAAS;IACpB,gCAAgC;;IAGhC,oCAAoC;;IAGpC,mCAAmC;;IAGnC,0BAA0B;;IAG1B,wBAAwB;;;;IAGxB,2BAA2B;;IAG3B,0BAA0B;;IAG1B,8BAA8B;;IAG9B,iCAAiC;;CAEzB,CAAC;AAEX,MAAM,MAAM,YAAY,GAAG,OAAO,SAAS,CAAC"}
|
package/dist/sdk/files.d.cts
CHANGED
|
@@ -7,7 +7,9 @@ export declare const files: {
|
|
|
7
7
|
/** @see uploadFile */
|
|
8
8
|
readonly uploadFile: (uploadFileBody: import("..").UploadFileBody, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").FileMetadata>;
|
|
9
9
|
/** @see getFiles */
|
|
10
|
-
readonly list: (options?: import("
|
|
10
|
+
readonly list: (options?: (Omit<import("..").GetFilesParams, "order_by"> & {
|
|
11
|
+
order_by?: string;
|
|
12
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetFiles200>;
|
|
11
13
|
/** @see getFileById */
|
|
12
14
|
readonly get: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").FileMetadata>;
|
|
13
15
|
/** @see deleteFile */
|
package/dist/sdk/files.d.ts
CHANGED
|
@@ -7,7 +7,9 @@ export declare const files: {
|
|
|
7
7
|
/** @see uploadFile */
|
|
8
8
|
readonly uploadFile: (uploadFileBody: import("..").UploadFileBody, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").FileMetadata>;
|
|
9
9
|
/** @see getFiles */
|
|
10
|
-
readonly list: (options?: import("
|
|
10
|
+
readonly list: (options?: (Omit<import("..").GetFilesParams, "order_by"> & {
|
|
11
|
+
order_by?: string;
|
|
12
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetFiles200>;
|
|
11
13
|
/** @see getFileById */
|
|
12
14
|
readonly get: (id: string, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").FileMetadata>;
|
|
13
15
|
/** @see deleteFile */
|
package/dist/sdk/files.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../src/sdk/files.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,eAAO,MAAM,KAAK;IAChB,sBAAsB;;IAGtB,oBAAoB
|
|
1
|
+
{"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../src/sdk/files.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,eAAO,MAAM,KAAK;IAChB,sBAAsB;;IAGtB,oBAAoB;;;;IAGpB,uBAAuB;;IAGvB,sBAAsB;;CAEd,CAAC;AAEX,MAAM,MAAM,QAAQ,GAAG,OAAO,KAAK,CAAC"}
|
package/dist/sdk/invoices.d.cts
CHANGED
|
@@ -15,7 +15,9 @@ export declare const invoices: {
|
|
|
15
15
|
/** @see createInvoice */
|
|
16
16
|
readonly create: (createInvoiceBody: import("..").CreateInvoiceRequest, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").Invoice>;
|
|
17
17
|
/** @see getInvoices */
|
|
18
|
-
readonly list: (options?: import("
|
|
18
|
+
readonly list: (options?: (Omit<import("..").GetInvoicesParams, "order_by"> & {
|
|
19
|
+
order_by?: string;
|
|
20
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetInvoicesResponse>;
|
|
19
21
|
/** @see getInvoiceById */
|
|
20
22
|
readonly get: (id: string, params?: import("..").GetInvoiceByIdParams | undefined, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").Invoice>;
|
|
21
23
|
/** @see updateInvoice */
|
package/dist/sdk/invoices.d.ts
CHANGED
|
@@ -15,7 +15,9 @@ export declare const invoices: {
|
|
|
15
15
|
/** @see createInvoice */
|
|
16
16
|
readonly create: (createInvoiceBody: import("..").CreateInvoiceRequest, args_1?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").Invoice>;
|
|
17
17
|
/** @see getInvoices */
|
|
18
|
-
readonly list: (options?: import("
|
|
18
|
+
readonly list: (options?: (Omit<import("..").GetInvoicesParams, "order_by"> & {
|
|
19
|
+
order_by?: string;
|
|
20
|
+
} & import("./types").SDKMethodOptions) | undefined) => Promise<import("..").GetInvoicesResponse>;
|
|
19
21
|
/** @see getInvoiceById */
|
|
20
22
|
readonly get: (id: string, params?: import("..").GetInvoiceByIdParams | undefined, args_2?: import("./types").SDKMethodOptions | undefined) => Promise<import("..").Invoice>;
|
|
21
23
|
/** @see updateInvoice */
|