waldur-js-client 1.0.1 → 1.0.2
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/README.md +1 -1
- package/dist/sdk.gen.js +4 -20
- package/dist/types.gen.d.ts +8 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ const querySerializer = (params) =>
|
|
|
11
11
|
Qs.stringify(params, { arrayFormat: 'repeat' });
|
|
12
12
|
|
|
13
13
|
client.setConfig({
|
|
14
|
-
auth: () =>
|
|
14
|
+
auth: () => API_TOKEN,
|
|
15
15
|
baseUrl: API_URL,
|
|
16
16
|
throwOnError: true,
|
|
17
17
|
querySerializer,
|
package/dist/sdk.gen.js
CHANGED
|
@@ -6632,11 +6632,7 @@ const marketplaceProviderOfferingsActivate = (options) => {
|
|
|
6632
6632
|
}
|
|
6633
6633
|
],
|
|
6634
6634
|
url: '/api/marketplace-provider-offerings/{uuid}/activate/',
|
|
6635
|
-
...options
|
|
6636
|
-
headers: {
|
|
6637
|
-
'Content-Type': 'application/json',
|
|
6638
|
-
...options === null || options === void 0 ? void 0 : options.headers
|
|
6639
|
-
}
|
|
6635
|
+
...options
|
|
6640
6636
|
});
|
|
6641
6637
|
};
|
|
6642
6638
|
exports.marketplaceProviderOfferingsActivate = marketplaceProviderOfferingsActivate;
|
|
@@ -6689,11 +6685,7 @@ const marketplaceProviderOfferingsArchive = (options) => {
|
|
|
6689
6685
|
}
|
|
6690
6686
|
],
|
|
6691
6687
|
url: '/api/marketplace-provider-offerings/{uuid}/archive/',
|
|
6692
|
-
...options
|
|
6693
|
-
headers: {
|
|
6694
|
-
'Content-Type': 'application/json',
|
|
6695
|
-
...options === null || options === void 0 ? void 0 : options.headers
|
|
6696
|
-
}
|
|
6688
|
+
...options
|
|
6697
6689
|
});
|
|
6698
6690
|
};
|
|
6699
6691
|
exports.marketplaceProviderOfferingsArchive = marketplaceProviderOfferingsArchive;
|
|
@@ -6866,11 +6858,7 @@ const marketplaceProviderOfferingsDraft = (options) => {
|
|
|
6866
6858
|
}
|
|
6867
6859
|
],
|
|
6868
6860
|
url: '/api/marketplace-provider-offerings/{uuid}/draft/',
|
|
6869
|
-
...options
|
|
6870
|
-
headers: {
|
|
6871
|
-
'Content-Type': 'application/json',
|
|
6872
|
-
...options === null || options === void 0 ? void 0 : options.headers
|
|
6873
|
-
}
|
|
6861
|
+
...options
|
|
6874
6862
|
});
|
|
6875
6863
|
};
|
|
6876
6864
|
exports.marketplaceProviderOfferingsDraft = marketplaceProviderOfferingsDraft;
|
|
@@ -7081,11 +7069,7 @@ const marketplaceProviderOfferingsUnpause = (options) => {
|
|
|
7081
7069
|
}
|
|
7082
7070
|
],
|
|
7083
7071
|
url: '/api/marketplace-provider-offerings/{uuid}/unpause/',
|
|
7084
|
-
...options
|
|
7085
|
-
headers: {
|
|
7086
|
-
'Content-Type': 'application/json',
|
|
7087
|
-
...options === null || options === void 0 ? void 0 : options.headers
|
|
7088
|
-
}
|
|
7072
|
+
...options
|
|
7089
7073
|
});
|
|
7090
7074
|
};
|
|
7091
7075
|
exports.marketplaceProviderOfferingsUnpause = marketplaceProviderOfferingsUnpause;
|
package/dist/types.gen.d.ts
CHANGED
|
@@ -1620,6 +1620,9 @@ export type Country = {
|
|
|
1620
1620
|
readonly value: string;
|
|
1621
1621
|
};
|
|
1622
1622
|
export type CountryEnum = 'AL' | 'AT' | 'BE' | 'BG' | 'BA' | 'CH' | 'CY' | 'CZ' | 'DE' | 'DK' | 'ES' | 'EE' | 'FI' | 'FR' | 'GB' | 'GE' | 'GR' | 'HR' | 'HU' | 'IE' | 'IS' | 'IT' | 'LT' | 'LU' | 'LV' | 'MC' | 'MK' | 'MT' | 'NL' | 'NO' | 'PL' | 'PT' | 'RO' | 'RS' | 'SK' | 'SI' | 'SE' | 'UA' | 'EU';
|
|
1623
|
+
export type CreateAttachmentsRequest = {
|
|
1624
|
+
attachments: Array<Blob | File>;
|
|
1625
|
+
};
|
|
1623
1626
|
export type CreateCustomerCredit = {
|
|
1624
1627
|
readonly uuid: string;
|
|
1625
1628
|
readonly url: string;
|
|
@@ -15886,7 +15889,7 @@ export type MarketplaceProviderOfferingsRetrieveResponses = {
|
|
|
15886
15889
|
};
|
|
15887
15890
|
export type MarketplaceProviderOfferingsRetrieveResponse = MarketplaceProviderOfferingsRetrieveResponses[keyof MarketplaceProviderOfferingsRetrieveResponses];
|
|
15888
15891
|
export type MarketplaceProviderOfferingsActivateData = {
|
|
15889
|
-
body
|
|
15892
|
+
body?: never;
|
|
15890
15893
|
path: {
|
|
15891
15894
|
uuid: string;
|
|
15892
15895
|
};
|
|
@@ -15924,7 +15927,7 @@ export type MarketplaceProviderOfferingsAddUserResponses = {
|
|
|
15924
15927
|
200: unknown;
|
|
15925
15928
|
};
|
|
15926
15929
|
export type MarketplaceProviderOfferingsArchiveData = {
|
|
15927
|
-
body
|
|
15930
|
+
body?: never;
|
|
15928
15931
|
path: {
|
|
15929
15932
|
uuid: string;
|
|
15930
15933
|
};
|
|
@@ -16233,7 +16236,7 @@ export type MarketplaceProviderOfferingsDeleteUserResponses = {
|
|
|
16233
16236
|
200: unknown;
|
|
16234
16237
|
};
|
|
16235
16238
|
export type MarketplaceProviderOfferingsDraftData = {
|
|
16236
|
-
body
|
|
16239
|
+
body?: never;
|
|
16237
16240
|
path: {
|
|
16238
16241
|
uuid: string;
|
|
16239
16242
|
};
|
|
@@ -16643,7 +16646,7 @@ export type MarketplaceProviderOfferingsSyncResponses = {
|
|
|
16643
16646
|
200: unknown;
|
|
16644
16647
|
};
|
|
16645
16648
|
export type MarketplaceProviderOfferingsUnpauseData = {
|
|
16646
|
-
body
|
|
16649
|
+
body?: never;
|
|
16647
16650
|
path: {
|
|
16648
16651
|
uuid: string;
|
|
16649
16652
|
};
|
|
@@ -26691,7 +26694,7 @@ export type SupportTemplatesUpdateResponses = {
|
|
|
26691
26694
|
};
|
|
26692
26695
|
export type SupportTemplatesUpdateResponse = SupportTemplatesUpdateResponses[keyof SupportTemplatesUpdateResponses];
|
|
26693
26696
|
export type SupportTemplatesCreateAttachmentsData = {
|
|
26694
|
-
body:
|
|
26697
|
+
body: CreateAttachmentsRequest;
|
|
26695
26698
|
path: {
|
|
26696
26699
|
uuid: string;
|
|
26697
26700
|
};
|