mollie-api-typescript 1.12.11 → 1.12.13
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/commonjs/funcs/salesInvoicesCreate.d.ts +0 -4
- package/dist/commonjs/funcs/salesInvoicesCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/salesInvoicesCreate.js +0 -4
- package/dist/commonjs/funcs/salesInvoicesCreate.js.map +1 -1
- package/dist/commonjs/funcs/salesInvoicesDelete.d.ts +0 -4
- package/dist/commonjs/funcs/salesInvoicesDelete.d.ts.map +1 -1
- package/dist/commonjs/funcs/salesInvoicesDelete.js +0 -4
- package/dist/commonjs/funcs/salesInvoicesDelete.js.map +1 -1
- package/dist/commonjs/funcs/salesInvoicesGet.d.ts +0 -4
- package/dist/commonjs/funcs/salesInvoicesGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/salesInvoicesGet.js +0 -4
- package/dist/commonjs/funcs/salesInvoicesGet.js.map +1 -1
- package/dist/commonjs/funcs/salesInvoicesList.d.ts +0 -4
- package/dist/commonjs/funcs/salesInvoicesList.d.ts.map +1 -1
- package/dist/commonjs/funcs/salesInvoicesList.js +0 -4
- package/dist/commonjs/funcs/salesInvoicesList.js.map +1 -1
- package/dist/commonjs/funcs/salesInvoicesUpdate.d.ts +0 -4
- package/dist/commonjs/funcs/salesInvoicesUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/salesInvoicesUpdate.js +0 -4
- package/dist/commonjs/funcs/salesInvoicesUpdate.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/http.d.ts +1 -1
- package/dist/commonjs/lib/http.d.ts.map +1 -1
- package/dist/commonjs/lib/http.js +1 -1
- package/dist/commonjs/lib/http.js.map +1 -1
- package/dist/commonjs/lib/security.d.ts +5 -4
- package/dist/commonjs/lib/security.d.ts.map +1 -1
- package/dist/commonjs/lib/security.js +6 -7
- package/dist/commonjs/lib/security.js.map +1 -1
- package/dist/commonjs/models/entityorganization.d.ts +18 -16
- package/dist/commonjs/models/entityorganization.d.ts.map +1 -1
- package/dist/commonjs/models/entityorganization.js +18 -16
- package/dist/commonjs/models/entityorganization.js.map +1 -1
- package/dist/commonjs/models/locale.d.ts +18 -16
- package/dist/commonjs/models/locale.d.ts.map +1 -1
- package/dist/commonjs/models/locale.js +18 -16
- package/dist/commonjs/models/locale.js.map +1 -1
- package/dist/commonjs/models/localeresponse.d.ts +18 -16
- package/dist/commonjs/models/localeresponse.d.ts.map +1 -1
- package/dist/commonjs/models/localeresponse.js +18 -16
- package/dist/commonjs/models/localeresponse.js.map +1 -1
- package/dist/commonjs/sdk/salesinvoices.d.ts +0 -20
- package/dist/commonjs/sdk/salesinvoices.d.ts.map +1 -1
- package/dist/commonjs/sdk/salesinvoices.js +0 -20
- package/dist/commonjs/sdk/salesinvoices.js.map +1 -1
- package/dist/esm/funcs/salesInvoicesCreate.d.ts +0 -4
- package/dist/esm/funcs/salesInvoicesCreate.d.ts.map +1 -1
- package/dist/esm/funcs/salesInvoicesCreate.js +0 -4
- package/dist/esm/funcs/salesInvoicesCreate.js.map +1 -1
- package/dist/esm/funcs/salesInvoicesDelete.d.ts +0 -4
- package/dist/esm/funcs/salesInvoicesDelete.d.ts.map +1 -1
- package/dist/esm/funcs/salesInvoicesDelete.js +0 -4
- package/dist/esm/funcs/salesInvoicesDelete.js.map +1 -1
- package/dist/esm/funcs/salesInvoicesGet.d.ts +0 -4
- package/dist/esm/funcs/salesInvoicesGet.d.ts.map +1 -1
- package/dist/esm/funcs/salesInvoicesGet.js +0 -4
- package/dist/esm/funcs/salesInvoicesGet.js.map +1 -1
- package/dist/esm/funcs/salesInvoicesList.d.ts +0 -4
- package/dist/esm/funcs/salesInvoicesList.d.ts.map +1 -1
- package/dist/esm/funcs/salesInvoicesList.js +0 -4
- package/dist/esm/funcs/salesInvoicesList.js.map +1 -1
- package/dist/esm/funcs/salesInvoicesUpdate.d.ts +0 -4
- package/dist/esm/funcs/salesInvoicesUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/salesInvoicesUpdate.js +0 -4
- package/dist/esm/funcs/salesInvoicesUpdate.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/http.d.ts +1 -1
- package/dist/esm/lib/http.d.ts.map +1 -1
- package/dist/esm/lib/http.js +1 -1
- package/dist/esm/lib/http.js.map +1 -1
- package/dist/esm/lib/security.d.ts +5 -4
- package/dist/esm/lib/security.d.ts.map +1 -1
- package/dist/esm/lib/security.js +4 -5
- package/dist/esm/lib/security.js.map +1 -1
- package/dist/esm/models/entityorganization.d.ts +18 -16
- package/dist/esm/models/entityorganization.d.ts.map +1 -1
- package/dist/esm/models/entityorganization.js +18 -16
- package/dist/esm/models/entityorganization.js.map +1 -1
- package/dist/esm/models/locale.d.ts +18 -16
- package/dist/esm/models/locale.d.ts.map +1 -1
- package/dist/esm/models/locale.js +18 -16
- package/dist/esm/models/locale.js.map +1 -1
- package/dist/esm/models/localeresponse.d.ts +18 -16
- package/dist/esm/models/localeresponse.d.ts.map +1 -1
- package/dist/esm/models/localeresponse.js +18 -16
- package/dist/esm/models/localeresponse.js.map +1 -1
- package/dist/esm/sdk/salesinvoices.d.ts +0 -20
- package/dist/esm/sdk/salesinvoices.d.ts.map +1 -1
- package/dist/esm/sdk/salesinvoices.js +0 -20
- package/dist/esm/sdk/salesinvoices.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/salesInvoicesCreate.ts +0 -4
- package/src/funcs/salesInvoicesDelete.ts +0 -4
- package/src/funcs/salesInvoicesGet.ts +0 -4
- package/src/funcs/salesInvoicesList.ts +0 -4
- package/src/funcs/salesInvoicesUpdate.ts +0 -4
- package/src/lib/config.ts +3 -3
- package/src/lib/http.ts +3 -1
- package/src/lib/security.ts +10 -5
- package/src/models/entityorganization.ts +18 -16
- package/src/models/locale.ts +18 -16
- package/src/models/localeresponse.ts +18 -16
- package/src/sdk/salesinvoices.ts +0 -20
|
@@ -15,10 +15,6 @@ export class SalesInvoices extends ClientSDK {
|
|
|
15
15
|
* Create sales invoice
|
|
16
16
|
*
|
|
17
17
|
* @remarks
|
|
18
|
-
* > 🚧 Beta feature
|
|
19
|
-
* >
|
|
20
|
-
* > This feature is currently in beta testing, and the final specification may still change.
|
|
21
|
-
*
|
|
22
18
|
* With the Sales Invoice API you can generate sales invoices to send to your customers.
|
|
23
19
|
*/
|
|
24
20
|
async create(request, options) {
|
|
@@ -28,10 +24,6 @@ export class SalesInvoices extends ClientSDK {
|
|
|
28
24
|
* List sales invoices
|
|
29
25
|
*
|
|
30
26
|
* @remarks
|
|
31
|
-
* > 🚧 Beta feature
|
|
32
|
-
* >
|
|
33
|
-
* > This feature is currently in beta testing, and the final specification may still change.
|
|
34
|
-
*
|
|
35
27
|
* Retrieve a list of all sales invoices created through the API.
|
|
36
28
|
*
|
|
37
29
|
* The results are paginated.
|
|
@@ -43,10 +35,6 @@ export class SalesInvoices extends ClientSDK {
|
|
|
43
35
|
* Get sales invoice
|
|
44
36
|
*
|
|
45
37
|
* @remarks
|
|
46
|
-
* > 🚧 Beta feature
|
|
47
|
-
* >
|
|
48
|
-
* > This feature is currently in beta testing, and the final specification may still change.
|
|
49
|
-
*
|
|
50
38
|
* Retrieve a single sales invoice by its ID.
|
|
51
39
|
*/
|
|
52
40
|
async get(request, options) {
|
|
@@ -56,10 +44,6 @@ export class SalesInvoices extends ClientSDK {
|
|
|
56
44
|
* Update sales invoice
|
|
57
45
|
*
|
|
58
46
|
* @remarks
|
|
59
|
-
* > 🚧 Beta feature
|
|
60
|
-
* >
|
|
61
|
-
* > This feature is currently in beta testing, and the final specification may still change.
|
|
62
|
-
*
|
|
63
47
|
* Certain details of an existing sales invoice can be updated. For `draft` it is all values listed below, but for
|
|
64
48
|
* statuses `paid` and `issued` there are certain additional requirements (`paymentDetails` and `emailDetails`,
|
|
65
49
|
* respectively).
|
|
@@ -71,10 +55,6 @@ export class SalesInvoices extends ClientSDK {
|
|
|
71
55
|
* Delete sales invoice
|
|
72
56
|
*
|
|
73
57
|
* @remarks
|
|
74
|
-
* > 🚧 Beta feature
|
|
75
|
-
* >
|
|
76
|
-
* > This feature is currently in beta testing, and the final specification may still change.
|
|
77
|
-
*
|
|
78
58
|
* Sales invoices which are in status `draft` can be deleted. For all other statuses, please use the
|
|
79
59
|
* [Update sales invoice](update-sales-invoice) endpoint instead.
|
|
80
60
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"salesinvoices.js","sourceRoot":"","sources":["../../../src/sdk/salesinvoices.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAG3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAgB,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE5E,MAAM,OAAO,aAAc,SAAQ,SAAS;IAC1C
|
|
1
|
+
{"version":3,"file":"salesinvoices.js","sourceRoot":"","sources":["../../../src/sdk/salesinvoices.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAG3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAgB,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE5E,MAAM,OAAO,aAAc,SAAQ,SAAS;IAC1C;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,OAA0D,EAC1D,OAAwB;QAExB,OAAO,WAAW,CAAC,mBAAmB,CACpC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,IAAI,CACR,OAAyD,EACzD,OAAwB;QAIxB,OAAO,oBAAoB,CAAC,iBAAiB,CAC3C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,GAAG,CACP,OAA0C,EAC1C,OAAwB;QAExB,OAAO,WAAW,CAAC,gBAAgB,CACjC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,MAAM,CACV,OAA6C,EAC7C,OAAwB;QAExB,OAAO,WAAW,CAAC,mBAAmB,CACpC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,MAAM,CACV,OAA6C,EAC7C,OAAwB;QAExB,OAAO,WAAW,CAAC,mBAAmB,CACpC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -32,10 +32,6 @@ import { Result } from "../types/fp.js";
|
|
|
32
32
|
* Create sales invoice
|
|
33
33
|
*
|
|
34
34
|
* @remarks
|
|
35
|
-
* > 🚧 Beta feature
|
|
36
|
-
* >
|
|
37
|
-
* > This feature is currently in beta testing, and the final specification may still change.
|
|
38
|
-
*
|
|
39
35
|
* With the Sales Invoice API you can generate sales invoices to send to your customers.
|
|
40
36
|
*
|
|
41
37
|
* If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
|
|
@@ -32,10 +32,6 @@ import { Result } from "../types/fp.js";
|
|
|
32
32
|
* Delete sales invoice
|
|
33
33
|
*
|
|
34
34
|
* @remarks
|
|
35
|
-
* > 🚧 Beta feature
|
|
36
|
-
* >
|
|
37
|
-
* > This feature is currently in beta testing, and the final specification may still change.
|
|
38
|
-
*
|
|
39
35
|
* Sales invoices which are in status `draft` can be deleted. For all other statuses, please use the
|
|
40
36
|
* [Update sales invoice](update-sales-invoice) endpoint instead.
|
|
41
37
|
*
|
|
@@ -32,10 +32,6 @@ import { Result } from "../types/fp.js";
|
|
|
32
32
|
* Get sales invoice
|
|
33
33
|
*
|
|
34
34
|
* @remarks
|
|
35
|
-
* > 🚧 Beta feature
|
|
36
|
-
* >
|
|
37
|
-
* > This feature is currently in beta testing, and the final specification may still change.
|
|
38
|
-
*
|
|
39
35
|
* Retrieve a single sales invoice by its ID.
|
|
40
36
|
*
|
|
41
37
|
* If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
|
|
@@ -38,10 +38,6 @@ import {
|
|
|
38
38
|
* List sales invoices
|
|
39
39
|
*
|
|
40
40
|
* @remarks
|
|
41
|
-
* > 🚧 Beta feature
|
|
42
|
-
* >
|
|
43
|
-
* > This feature is currently in beta testing, and the final specification may still change.
|
|
44
|
-
*
|
|
45
41
|
* Retrieve a list of all sales invoices created through the API.
|
|
46
42
|
*
|
|
47
43
|
* The results are paginated.
|
|
@@ -32,10 +32,6 @@ import { Result } from "../types/fp.js";
|
|
|
32
32
|
* Update sales invoice
|
|
33
33
|
*
|
|
34
34
|
* @remarks
|
|
35
|
-
* > 🚧 Beta feature
|
|
36
|
-
* >
|
|
37
|
-
* > This feature is currently in beta testing, and the final specification may still change.
|
|
38
|
-
*
|
|
39
35
|
* Certain details of an existing sales invoice can be updated. For `draft` it is all values listed below, but for
|
|
40
36
|
* statuses `paid` and `issued` there are certain additional requirements (`paymentDetails` and `emailDetails`,
|
|
41
37
|
* respectively).
|
package/src/lib/config.ts
CHANGED
|
@@ -78,8 +78,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
78
78
|
export const SDK_METADATA = {
|
|
79
79
|
language: "typescript",
|
|
80
80
|
openapiDocVersion: "1.0.0",
|
|
81
|
-
sdkVersion: "1.12.
|
|
82
|
-
genVersion: "2.
|
|
81
|
+
sdkVersion: "1.12.13",
|
|
82
|
+
genVersion: "2.918.3",
|
|
83
83
|
userAgent:
|
|
84
|
-
"speakeasy-sdk/typescript 1.12.
|
|
84
|
+
"speakeasy-sdk/typescript 1.12.13 2.918.3 1.0.0 mollie-api-typescript",
|
|
85
85
|
} as const;
|
package/src/lib/http.ts
CHANGED
|
@@ -46,8 +46,10 @@ export class HTTPClient {
|
|
|
46
46
|
private requestHooks: BeforeRequestHook[] = [];
|
|
47
47
|
private requestErrorHooks: RequestErrorHook[] = [];
|
|
48
48
|
private responseHooks: ResponseHook[] = [];
|
|
49
|
+
private options: HTTPClientOptions;
|
|
49
50
|
|
|
50
|
-
constructor(
|
|
51
|
+
constructor(options: HTTPClientOptions = {}) {
|
|
52
|
+
this.options = options;
|
|
51
53
|
this.fetcher = options.fetcher || DEFAULT_FETCHER;
|
|
52
54
|
}
|
|
53
55
|
|
package/src/lib/security.ts
CHANGED
|
@@ -14,17 +14,22 @@ type OAuth2PasswordFlow = {
|
|
|
14
14
|
tokenURL: string;
|
|
15
15
|
};
|
|
16
16
|
|
|
17
|
-
export
|
|
18
|
-
Incomplete
|
|
19
|
-
UnrecognisedSecurityType
|
|
20
|
-
}
|
|
17
|
+
export const SecurityErrorCode = {
|
|
18
|
+
Incomplete: "incomplete",
|
|
19
|
+
UnrecognisedSecurityType: "unrecognized_security_type",
|
|
20
|
+
} as const;
|
|
21
|
+
export type SecurityErrorCode =
|
|
22
|
+
(typeof SecurityErrorCode)[keyof typeof SecurityErrorCode];
|
|
21
23
|
|
|
22
24
|
export class SecurityError extends Error {
|
|
25
|
+
public code: SecurityErrorCode;
|
|
26
|
+
|
|
23
27
|
constructor(
|
|
24
|
-
|
|
28
|
+
code: SecurityErrorCode,
|
|
25
29
|
message: string,
|
|
26
30
|
) {
|
|
27
31
|
super(message);
|
|
32
|
+
this.code = code;
|
|
28
33
|
this.name = "SecurityError";
|
|
29
34
|
}
|
|
30
35
|
|
|
@@ -21,30 +21,32 @@ import { Url, Url$inboundSchema } from "./url.js";
|
|
|
21
21
|
* The preferred locale of the merchant, as set in their Mollie dashboard.
|
|
22
22
|
*/
|
|
23
23
|
export const EntityOrganizationLocale = {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
NlBE: "nl_BE",
|
|
28
|
-
DEDE: "de_DE",
|
|
24
|
+
CaES: "ca_ES",
|
|
25
|
+
CsCZ: "cs_CZ",
|
|
26
|
+
DaDK: "da_DK",
|
|
29
27
|
DeAT: "de_AT",
|
|
30
28
|
DeCH: "de_CH",
|
|
29
|
+
DEDE: "de_DE",
|
|
31
30
|
DeLU: "de_LU",
|
|
32
|
-
|
|
31
|
+
EnGB: "en_GB",
|
|
32
|
+
EnUS: "en_US",
|
|
33
|
+
ESES: "es_ES",
|
|
34
|
+
FIFI: "fi_FI",
|
|
33
35
|
FrBE: "fr_BE",
|
|
36
|
+
FRFR: "fr_FR",
|
|
34
37
|
FrLU: "fr_LU",
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
PTPT: "pt_PT",
|
|
38
|
+
HUHU: "hu_HU",
|
|
39
|
+
ISIS: "is_IS",
|
|
38
40
|
ITIT: "it_IT",
|
|
41
|
+
LTLT: "lt_LT",
|
|
42
|
+
LVLV: "lv_LV",
|
|
39
43
|
NbNO: "nb_NO",
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
DaDK: "da_DK",
|
|
43
|
-
ISIS: "is_IS",
|
|
44
|
-
HUHU: "hu_HU",
|
|
44
|
+
NlBE: "nl_BE",
|
|
45
|
+
NLNL: "nl_NL",
|
|
45
46
|
PLPL: "pl_PL",
|
|
46
|
-
|
|
47
|
-
|
|
47
|
+
PTPT: "pt_PT",
|
|
48
|
+
SKSK: "sk_SK",
|
|
49
|
+
SvSE: "sv_SE",
|
|
48
50
|
Null: "null",
|
|
49
51
|
} as const;
|
|
50
52
|
/**
|
package/src/models/locale.ts
CHANGED
|
@@ -10,30 +10,32 @@ import { ClosedEnum } from "../types/enums.js";
|
|
|
10
10
|
* Sets the language for customer-facing content and communications.
|
|
11
11
|
*/
|
|
12
12
|
export const Locale = {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
NlBE: "nl_BE",
|
|
17
|
-
DEDE: "de_DE",
|
|
13
|
+
CaES: "ca_ES",
|
|
14
|
+
CsCZ: "cs_CZ",
|
|
15
|
+
DaDK: "da_DK",
|
|
18
16
|
DeAT: "de_AT",
|
|
19
17
|
DeCH: "de_CH",
|
|
18
|
+
DEDE: "de_DE",
|
|
20
19
|
DeLU: "de_LU",
|
|
21
|
-
|
|
20
|
+
EnGB: "en_GB",
|
|
21
|
+
EnUS: "en_US",
|
|
22
|
+
ESES: "es_ES",
|
|
23
|
+
FIFI: "fi_FI",
|
|
22
24
|
FrBE: "fr_BE",
|
|
25
|
+
FRFR: "fr_FR",
|
|
23
26
|
FrLU: "fr_LU",
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
PTPT: "pt_PT",
|
|
27
|
+
HUHU: "hu_HU",
|
|
28
|
+
ISIS: "is_IS",
|
|
27
29
|
ITIT: "it_IT",
|
|
30
|
+
LTLT: "lt_LT",
|
|
31
|
+
LVLV: "lv_LV",
|
|
28
32
|
NbNO: "nb_NO",
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
DaDK: "da_DK",
|
|
32
|
-
ISIS: "is_IS",
|
|
33
|
-
HUHU: "hu_HU",
|
|
33
|
+
NlBE: "nl_BE",
|
|
34
|
+
NLNL: "nl_NL",
|
|
34
35
|
PLPL: "pl_PL",
|
|
35
|
-
|
|
36
|
-
|
|
36
|
+
PTPT: "pt_PT",
|
|
37
|
+
SKSK: "sk_SK",
|
|
38
|
+
SvSE: "sv_SE",
|
|
37
39
|
Null: "null",
|
|
38
40
|
} as const;
|
|
39
41
|
/**
|
|
@@ -11,30 +11,32 @@ import { OpenEnum } from "../types/enums.js";
|
|
|
11
11
|
* Sets the language for customer-facing content and communications.
|
|
12
12
|
*/
|
|
13
13
|
export const LocaleResponse = {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
NlBE: "nl_BE",
|
|
18
|
-
DEDE: "de_DE",
|
|
14
|
+
CaES: "ca_ES",
|
|
15
|
+
CsCZ: "cs_CZ",
|
|
16
|
+
DaDK: "da_DK",
|
|
19
17
|
DeAT: "de_AT",
|
|
20
18
|
DeCH: "de_CH",
|
|
19
|
+
DEDE: "de_DE",
|
|
21
20
|
DeLU: "de_LU",
|
|
22
|
-
|
|
21
|
+
EnGB: "en_GB",
|
|
22
|
+
EnUS: "en_US",
|
|
23
|
+
ESES: "es_ES",
|
|
24
|
+
FIFI: "fi_FI",
|
|
23
25
|
FrBE: "fr_BE",
|
|
26
|
+
FRFR: "fr_FR",
|
|
24
27
|
FrLU: "fr_LU",
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
PTPT: "pt_PT",
|
|
28
|
+
HUHU: "hu_HU",
|
|
29
|
+
ISIS: "is_IS",
|
|
28
30
|
ITIT: "it_IT",
|
|
31
|
+
LTLT: "lt_LT",
|
|
32
|
+
LVLV: "lv_LV",
|
|
29
33
|
NbNO: "nb_NO",
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
DaDK: "da_DK",
|
|
33
|
-
ISIS: "is_IS",
|
|
34
|
-
HUHU: "hu_HU",
|
|
34
|
+
NlBE: "nl_BE",
|
|
35
|
+
NLNL: "nl_NL",
|
|
35
36
|
PLPL: "pl_PL",
|
|
36
|
-
|
|
37
|
-
|
|
37
|
+
PTPT: "pt_PT",
|
|
38
|
+
SKSK: "sk_SK",
|
|
39
|
+
SvSE: "sv_SE",
|
|
38
40
|
Null: "null",
|
|
39
41
|
} as const;
|
|
40
42
|
/**
|
package/src/sdk/salesinvoices.ts
CHANGED
|
@@ -19,10 +19,6 @@ export class SalesInvoices extends ClientSDK {
|
|
|
19
19
|
* Create sales invoice
|
|
20
20
|
*
|
|
21
21
|
* @remarks
|
|
22
|
-
* > 🚧 Beta feature
|
|
23
|
-
* >
|
|
24
|
-
* > This feature is currently in beta testing, and the final specification may still change.
|
|
25
|
-
*
|
|
26
22
|
* With the Sales Invoice API you can generate sales invoices to send to your customers.
|
|
27
23
|
*/
|
|
28
24
|
async create(
|
|
@@ -40,10 +36,6 @@ export class SalesInvoices extends ClientSDK {
|
|
|
40
36
|
* List sales invoices
|
|
41
37
|
*
|
|
42
38
|
* @remarks
|
|
43
|
-
* > 🚧 Beta feature
|
|
44
|
-
* >
|
|
45
|
-
* > This feature is currently in beta testing, and the final specification may still change.
|
|
46
|
-
*
|
|
47
39
|
* Retrieve a list of all sales invoices created through the API.
|
|
48
40
|
*
|
|
49
41
|
* The results are paginated.
|
|
@@ -65,10 +57,6 @@ export class SalesInvoices extends ClientSDK {
|
|
|
65
57
|
* Get sales invoice
|
|
66
58
|
*
|
|
67
59
|
* @remarks
|
|
68
|
-
* > 🚧 Beta feature
|
|
69
|
-
* >
|
|
70
|
-
* > This feature is currently in beta testing, and the final specification may still change.
|
|
71
|
-
*
|
|
72
60
|
* Retrieve a single sales invoice by its ID.
|
|
73
61
|
*/
|
|
74
62
|
async get(
|
|
@@ -86,10 +74,6 @@ export class SalesInvoices extends ClientSDK {
|
|
|
86
74
|
* Update sales invoice
|
|
87
75
|
*
|
|
88
76
|
* @remarks
|
|
89
|
-
* > 🚧 Beta feature
|
|
90
|
-
* >
|
|
91
|
-
* > This feature is currently in beta testing, and the final specification may still change.
|
|
92
|
-
*
|
|
93
77
|
* Certain details of an existing sales invoice can be updated. For `draft` it is all values listed below, but for
|
|
94
78
|
* statuses `paid` and `issued` there are certain additional requirements (`paymentDetails` and `emailDetails`,
|
|
95
79
|
* respectively).
|
|
@@ -109,10 +93,6 @@ export class SalesInvoices extends ClientSDK {
|
|
|
109
93
|
* Delete sales invoice
|
|
110
94
|
*
|
|
111
95
|
* @remarks
|
|
112
|
-
* > 🚧 Beta feature
|
|
113
|
-
* >
|
|
114
|
-
* > This feature is currently in beta testing, and the final specification may still change.
|
|
115
|
-
*
|
|
116
96
|
* Sales invoices which are in status `draft` can be deleted. For all other statuses, please use the
|
|
117
97
|
* [Update sales invoice](update-sales-invoice) endpoint instead.
|
|
118
98
|
*/
|