@delopay/sdk 0.479.0 → 0.480.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.
Files changed (57) hide show
  1. package/dist/chunk-CPT6VNW7.js +163 -0
  2. package/dist/chunk-CPT6VNW7.js.map +1 -0
  3. package/dist/chunk-CYH4HZ4Y.cjs +163 -0
  4. package/dist/chunk-CYH4HZ4Y.cjs.map +1 -0
  5. package/dist/internal/resources/admin.d.cts +1 -1
  6. package/dist/internal/resources/admin.d.ts +1 -1
  7. package/dist/internal/resources/adminBranding.d.cts +1 -1
  8. package/dist/internal/resources/adminBranding.d.ts +1 -1
  9. package/dist/internal/resources/adminCheckoutDomains.d.cts +1 -1
  10. package/dist/internal/resources/adminCheckoutDomains.d.ts +1 -1
  11. package/dist/internal/resources/adminFeePlans.d.cts +1 -1
  12. package/dist/internal/resources/adminFeePlans.d.ts +1 -1
  13. package/dist/internal/resources/adminFileScans.d.cts +1 -1
  14. package/dist/internal/resources/adminFileScans.d.ts +1 -1
  15. package/dist/internal/resources/adminIndustries.d.cts +1 -1
  16. package/dist/internal/resources/adminIndustries.d.ts +1 -1
  17. package/dist/internal/resources/adminNotices.d.cts +1 -1
  18. package/dist/internal/resources/adminNotices.d.ts +1 -1
  19. package/dist/internal/resources/adminPortal.d.cts +1 -1
  20. package/dist/internal/resources/adminPortal.d.ts +1 -1
  21. package/dist/internal/resources/adminPricing.cjs +7 -0
  22. package/dist/internal/resources/adminPricing.cjs.map +1 -0
  23. package/dist/internal/resources/adminPricing.d.cts +49 -0
  24. package/dist/internal/resources/adminPricing.d.ts +49 -0
  25. package/dist/internal/resources/adminPricing.js +7 -0
  26. package/dist/internal/resources/adminPricing.js.map +1 -0
  27. package/dist/internal/resources/adminSupport.d.cts +1 -1
  28. package/dist/internal/resources/adminSupport.d.ts +1 -1
  29. package/dist/internal/resources/auditLogs.d.cts +1 -1
  30. package/dist/internal/resources/auditLogs.d.ts +1 -1
  31. package/dist/internal/resources/cardIssuers.d.cts +1 -1
  32. package/dist/internal/resources/cardIssuers.d.ts +1 -1
  33. package/dist/internal/resources/connectorRestrictionRules.d.cts +1 -1
  34. package/dist/internal/resources/connectorRestrictionRules.d.ts +1 -1
  35. package/dist/internal/resources/connectorRestrictions.d.cts +1 -1
  36. package/dist/internal/resources/connectorRestrictions.d.ts +1 -1
  37. package/dist/internal/resources/diagnostic.d.cts +1 -1
  38. package/dist/internal/resources/diagnostic.d.ts +1 -1
  39. package/dist/internal/resources/gsm.d.cts +1 -1
  40. package/dist/internal/resources/gsm.d.ts +1 -1
  41. package/dist/internal/resources/nativeRenewals.d.cts +1 -1
  42. package/dist/internal/resources/nativeRenewals.d.ts +1 -1
  43. package/dist/internal/resources/platformBilling.d.cts +1 -1
  44. package/dist/internal/resources/platformBilling.d.ts +1 -1
  45. package/dist/internal/resources/platformSettings.d.cts +1 -1
  46. package/dist/internal/resources/platformSettings.d.ts +1 -1
  47. package/dist/internal.cjs +12 -7
  48. package/dist/internal.cjs.map +1 -1
  49. package/dist/internal.d.cts +5 -2
  50. package/dist/internal.d.ts +5 -2
  51. package/dist/internal.js +11 -6
  52. package/dist/internal.js.map +1 -1
  53. package/dist/{types-B3aryu0m.d.cts → types-B3FAxTbG.d.ts} +160 -2
  54. package/dist/{types-oEDLbeac.d.ts → types-DgqmdNah.d.cts} +160 -2
  55. package/dist/types.d.cts +4 -1
  56. package/dist/types.d.ts +4 -1
  57. package/package.json +1 -1
@@ -0,0 +1,163 @@
1
+ // src/internal/resources/adminPricing.ts
2
+ var BASE = "/admin-portal/pricing";
3
+ var brandPath = (brand, feeType) => `${BASE}/brands/${encodeURIComponent(brand)}/${encodeURIComponent(feeType)}`;
4
+ var merchantBasePath = (merchantId) => `${BASE}/merchants/${encodeURIComponent(merchantId)}`;
5
+ var merchantFeePath = (merchantId, feeType) => `${merchantBasePath(merchantId)}/${encodeURIComponent(feeType)}`;
6
+ var projectFeePath = (merchantId, projectId, feeType) => `${merchantBasePath(merchantId)}/projects/${encodeURIComponent(projectId)}/${encodeURIComponent(feeType)}`;
7
+ var shopFeePath = (merchantId, profileId, feeType) => `${merchantBasePath(merchantId)}/shops/${encodeURIComponent(profileId)}/${encodeURIComponent(feeType)}`;
8
+ function scopeCancelQuery(scope) {
9
+ switch (scope.level) {
10
+ case "brand_default":
11
+ if (!scope.brand) {
12
+ throw new TypeError("Brand default scope requires brand.");
13
+ }
14
+ return { brand: scope.brand };
15
+ case "merchant":
16
+ if (!scope.merchant_id) {
17
+ throw new TypeError("Merchant scope requires merchant_id.");
18
+ }
19
+ return { merchant_id: scope.merchant_id };
20
+ case "project":
21
+ if (!scope.merchant_id || !scope.project_id) {
22
+ throw new TypeError("Project scope requires merchant_id and project_id.");
23
+ }
24
+ return { merchant_id: scope.merchant_id, project_id: scope.project_id };
25
+ case "shop":
26
+ if (!scope.merchant_id || !scope.profile_id) {
27
+ throw new TypeError("Shop scope requires merchant_id and profile_id.");
28
+ }
29
+ return { merchant_id: scope.merchant_id, profile_id: scope.profile_id };
30
+ }
31
+ }
32
+ var AdminPricing = class {
33
+ constructor(request) {
34
+ this.request = request;
35
+ }
36
+ /** Brand defaults, active/scheduled exceptions, and older setups. `GET /admin-portal/pricing` */
37
+ async overview(params) {
38
+ return this.request("GET", BASE, {
39
+ query: {
40
+ merchant_id: params?.merchant_id,
41
+ fee_type: params?.fee_type
42
+ }
43
+ });
44
+ }
45
+ /** Effective price view naming the exact source of every fee type. `GET /admin-portal/pricing/effective` */
46
+ async effective(params) {
47
+ return this.request("GET", `${BASE}/effective`, {
48
+ query: {
49
+ merchant_id: params.merchant_id,
50
+ project_id: params.project_id,
51
+ profile_id: params.profile_id,
52
+ at: params.at
53
+ }
54
+ });
55
+ }
56
+ /** Save a brand default price. `PUT /admin-portal/pricing/brands/{brand}/{fee_type}` */
57
+ async saveBrand(brand, feeType, params) {
58
+ return this.request("PUT", brandPath(brand, feeType), { body: params });
59
+ }
60
+ /** Save a merchant exception. `PUT /admin-portal/pricing/merchants/{merchant_id}/{fee_type}` */
61
+ async saveMerchant(merchantId, feeType, params) {
62
+ return this.request("PUT", merchantFeePath(merchantId, feeType), { body: params });
63
+ }
64
+ /** Remove a merchant exception. `DELETE /admin-portal/pricing/merchants/{merchant_id}/{fee_type}` */
65
+ async removeMerchant(merchantId, feeType, expectedRevision) {
66
+ return this.request("DELETE", merchantFeePath(merchantId, feeType), {
67
+ query: { expected_revision: expectedRevision }
68
+ });
69
+ }
70
+ /** Save a project exception. `PUT /admin-portal/pricing/merchants/{merchant_id}/projects/{project_id}/{fee_type}` */
71
+ async saveProject(merchantId, projectId, feeType, params) {
72
+ return this.request("PUT", projectFeePath(merchantId, projectId, feeType), { body: params });
73
+ }
74
+ /** Remove a project exception. `DELETE /admin-portal/pricing/merchants/{merchant_id}/projects/{project_id}/{fee_type}` */
75
+ async removeProject(merchantId, projectId, feeType, expectedRevision) {
76
+ return this.request("DELETE", projectFeePath(merchantId, projectId, feeType), {
77
+ query: { expected_revision: expectedRevision }
78
+ });
79
+ }
80
+ /** Save a shop exception. `PUT /admin-portal/pricing/merchants/{merchant_id}/shops/{profile_id}/{fee_type}` */
81
+ async saveShop(merchantId, profileId, feeType, params) {
82
+ return this.request("PUT", shopFeePath(merchantId, profileId, feeType), { body: params });
83
+ }
84
+ /** Remove a shop exception. `DELETE /admin-portal/pricing/merchants/{merchant_id}/shops/{profile_id}/{fee_type}` */
85
+ async removeShop(merchantId, profileId, feeType, expectedRevision) {
86
+ return this.request("DELETE", shopFeePath(merchantId, profileId, feeType), {
87
+ query: { expected_revision: expectedRevision }
88
+ });
89
+ }
90
+ /** Save a price at any scope in the hierarchy (brand default, merchant, project, or shop). */
91
+ async save(scope, feeType, params) {
92
+ switch (scope.level) {
93
+ case "brand_default":
94
+ if (!scope.brand) {
95
+ throw new TypeError("Brand default scope requires brand.");
96
+ }
97
+ return this.saveBrand(scope.brand, feeType, params);
98
+ case "merchant":
99
+ if (!scope.merchant_id) {
100
+ throw new TypeError("Merchant scope requires merchant_id.");
101
+ }
102
+ return this.saveMerchant(scope.merchant_id, feeType, params);
103
+ case "project":
104
+ if (!scope.merchant_id || !scope.project_id) {
105
+ throw new TypeError("Project scope requires merchant_id and project_id.");
106
+ }
107
+ return this.saveProject(scope.merchant_id, scope.project_id, feeType, params);
108
+ case "shop":
109
+ if (!scope.merchant_id || !scope.profile_id) {
110
+ throw new TypeError("Shop scope requires merchant_id and profile_id.");
111
+ }
112
+ return this.saveShop(scope.merchant_id, scope.profile_id, feeType, params);
113
+ }
114
+ }
115
+ /** Remove an exception scope; brand defaults cannot be removed. */
116
+ async remove(scope, feeType, expectedRevision) {
117
+ switch (scope.level) {
118
+ case "brand_default":
119
+ throw new TypeError("A brand default price cannot be removed.");
120
+ case "merchant":
121
+ if (!scope.merchant_id) {
122
+ throw new TypeError("Merchant scope requires merchant_id.");
123
+ }
124
+ return this.removeMerchant(scope.merchant_id, feeType, expectedRevision);
125
+ case "project":
126
+ if (!scope.merchant_id || !scope.project_id) {
127
+ throw new TypeError("Project scope requires merchant_id and project_id.");
128
+ }
129
+ return this.removeProject(scope.merchant_id, scope.project_id, feeType, expectedRevision);
130
+ case "shop":
131
+ if (!scope.merchant_id || !scope.profile_id) {
132
+ throw new TypeError("Shop scope requires merchant_id and profile_id.");
133
+ }
134
+ return this.removeShop(scope.merchant_id, scope.profile_id, feeType, expectedRevision);
135
+ }
136
+ }
137
+ /** Cancel a future scheduled version. `DELETE /admin-portal/pricing/versions/{version_id}` */
138
+ async cancelVersion(versionId, feeType, scope, expectedRevision) {
139
+ const scopeQuery = scopeCancelQuery(scope);
140
+ return this.request("DELETE", `${BASE}/versions/${encodeURIComponent(versionId)}`, {
141
+ query: {
142
+ fee_type: feeType,
143
+ ...scopeQuery,
144
+ expected_revision: expectedRevision
145
+ }
146
+ });
147
+ }
148
+ /** Read a merchant's effective and explicit pricing brand. `GET /admin-portal/pricing/merchants/{merchant_id}/brand` */
149
+ async getMerchantBrand(merchantId) {
150
+ return this.request("GET", `${merchantBasePath(merchantId)}/brand`);
151
+ }
152
+ /** Assign a merchant's pricing brand (`'delopay'` / `'spicepay'`), or `null` to inherit the deployment brand. `PUT /admin-portal/pricing/merchants/{merchant_id}/brand` */
153
+ async setMerchantBrand(merchantId, brand) {
154
+ return this.request("PUT", `${merchantBasePath(merchantId)}/brand`, {
155
+ body: { brand }
156
+ });
157
+ }
158
+ };
159
+
160
+ export {
161
+ AdminPricing
162
+ };
163
+ //# sourceMappingURL=chunk-CPT6VNW7.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/internal/resources/adminPricing.ts"],"sourcesContent":["import type { RequestFn } from '../../client';\nimport type {\n EffectivePricingQuery,\n EffectivePricingResponse,\n MerchantPricingBrandResponse,\n PricingBrand,\n PricingFeeType,\n PricingOverview,\n PricingOverviewQuery,\n PricingSaveRequest,\n PricingScope,\n PricingScopeView,\n} from '../types';\n\nconst BASE = '/admin-portal/pricing';\nconst brandPath = (brand: PricingBrand, feeType: PricingFeeType): string =>\n `${BASE}/brands/${encodeURIComponent(brand)}/${encodeURIComponent(feeType)}`;\nconst merchantBasePath = (merchantId: string): string =>\n `${BASE}/merchants/${encodeURIComponent(merchantId)}`;\nconst merchantFeePath = (merchantId: string, feeType: PricingFeeType): string =>\n `${merchantBasePath(merchantId)}/${encodeURIComponent(feeType)}`;\nconst projectFeePath = (merchantId: string, projectId: string, feeType: PricingFeeType): string =>\n `${merchantBasePath(merchantId)}/projects/${encodeURIComponent(projectId)}/${encodeURIComponent(feeType)}`;\nconst shopFeePath = (merchantId: string, profileId: string, feeType: PricingFeeType): string =>\n `${merchantBasePath(merchantId)}/shops/${encodeURIComponent(profileId)}/${encodeURIComponent(feeType)}`;\n\nfunction scopeCancelQuery(scope: PricingScope): Record<string, string> {\n switch (scope.level) {\n case 'brand_default':\n if (!scope.brand) {\n throw new TypeError('Brand default scope requires brand.');\n }\n return { brand: scope.brand };\n case 'merchant':\n if (!scope.merchant_id) {\n throw new TypeError('Merchant scope requires merchant_id.');\n }\n return { merchant_id: scope.merchant_id };\n case 'project':\n if (!scope.merchant_id || !scope.project_id) {\n throw new TypeError('Project scope requires merchant_id and project_id.');\n }\n return { merchant_id: scope.merchant_id, project_id: scope.project_id };\n case 'shop':\n if (!scope.merchant_id || !scope.profile_id) {\n throw new TypeError('Shop scope requires merchant_id and profile_id.');\n }\n return { merchant_id: scope.merchant_id, profile_id: scope.profile_id };\n }\n}\n\n/**\n * Unified platform pricing hierarchy across every fee type: brand default\n * (`delopay` / `spicepay`), merchant, project, and shop, plus the Effective\n * Price View showing where every price comes from.\n *\n * Every write carries the scope's optimistic `expected_revision` token; a write\n * against an older revision is refused with `412 Precondition Failed`.\n */\nexport class AdminPricing {\n constructor(private readonly request: RequestFn) {}\n\n /** Brand defaults, active/scheduled exceptions, and older setups. `GET /admin-portal/pricing` */\n async overview(params?: PricingOverviewQuery): Promise<PricingOverview> {\n return this.request('GET', BASE, {\n query: {\n merchant_id: params?.merchant_id,\n fee_type: params?.fee_type,\n },\n });\n }\n\n /** Effective price view naming the exact source of every fee type. `GET /admin-portal/pricing/effective` */\n async effective(params: EffectivePricingQuery): Promise<EffectivePricingResponse> {\n return this.request('GET', `${BASE}/effective`, {\n query: {\n merchant_id: params.merchant_id,\n project_id: params.project_id,\n profile_id: params.profile_id,\n at: params.at,\n },\n });\n }\n\n /** Save a brand default price. `PUT /admin-portal/pricing/brands/{brand}/{fee_type}` */\n async saveBrand(\n brand: PricingBrand,\n feeType: PricingFeeType,\n params: PricingSaveRequest,\n ): Promise<PricingScopeView> {\n return this.request('PUT', brandPath(brand, feeType), { body: params });\n }\n\n /** Save a merchant exception. `PUT /admin-portal/pricing/merchants/{merchant_id}/{fee_type}` */\n async saveMerchant(\n merchantId: string,\n feeType: PricingFeeType,\n params: PricingSaveRequest,\n ): Promise<PricingScopeView> {\n return this.request('PUT', merchantFeePath(merchantId, feeType), { body: params });\n }\n\n /** Remove a merchant exception. `DELETE /admin-portal/pricing/merchants/{merchant_id}/{fee_type}` */\n async removeMerchant(\n merchantId: string,\n feeType: PricingFeeType,\n expectedRevision: string,\n ): Promise<PricingScopeView> {\n return this.request('DELETE', merchantFeePath(merchantId, feeType), {\n query: { expected_revision: expectedRevision },\n });\n }\n\n /** Save a project exception. `PUT /admin-portal/pricing/merchants/{merchant_id}/projects/{project_id}/{fee_type}` */\n async saveProject(\n merchantId: string,\n projectId: string,\n feeType: PricingFeeType,\n params: PricingSaveRequest,\n ): Promise<PricingScopeView> {\n return this.request('PUT', projectFeePath(merchantId, projectId, feeType), { body: params });\n }\n\n /** Remove a project exception. `DELETE /admin-portal/pricing/merchants/{merchant_id}/projects/{project_id}/{fee_type}` */\n async removeProject(\n merchantId: string,\n projectId: string,\n feeType: PricingFeeType,\n expectedRevision: string,\n ): Promise<PricingScopeView> {\n return this.request('DELETE', projectFeePath(merchantId, projectId, feeType), {\n query: { expected_revision: expectedRevision },\n });\n }\n\n /** Save a shop exception. `PUT /admin-portal/pricing/merchants/{merchant_id}/shops/{profile_id}/{fee_type}` */\n async saveShop(\n merchantId: string,\n profileId: string,\n feeType: PricingFeeType,\n params: PricingSaveRequest,\n ): Promise<PricingScopeView> {\n return this.request('PUT', shopFeePath(merchantId, profileId, feeType), { body: params });\n }\n\n /** Remove a shop exception. `DELETE /admin-portal/pricing/merchants/{merchant_id}/shops/{profile_id}/{fee_type}` */\n async removeShop(\n merchantId: string,\n profileId: string,\n feeType: PricingFeeType,\n expectedRevision: string,\n ): Promise<PricingScopeView> {\n return this.request('DELETE', shopFeePath(merchantId, profileId, feeType), {\n query: { expected_revision: expectedRevision },\n });\n }\n\n /** Save a price at any scope in the hierarchy (brand default, merchant, project, or shop). */\n async save(\n scope: PricingScope,\n feeType: PricingFeeType,\n params: PricingSaveRequest,\n ): Promise<PricingScopeView> {\n switch (scope.level) {\n case 'brand_default':\n if (!scope.brand) {\n throw new TypeError('Brand default scope requires brand.');\n }\n return this.saveBrand(scope.brand, feeType, params);\n case 'merchant':\n if (!scope.merchant_id) {\n throw new TypeError('Merchant scope requires merchant_id.');\n }\n return this.saveMerchant(scope.merchant_id, feeType, params);\n case 'project':\n if (!scope.merchant_id || !scope.project_id) {\n throw new TypeError('Project scope requires merchant_id and project_id.');\n }\n return this.saveProject(scope.merchant_id, scope.project_id, feeType, params);\n case 'shop':\n if (!scope.merchant_id || !scope.profile_id) {\n throw new TypeError('Shop scope requires merchant_id and profile_id.');\n }\n return this.saveShop(scope.merchant_id, scope.profile_id, feeType, params);\n }\n }\n\n /** Remove an exception scope; brand defaults cannot be removed. */\n async remove(\n scope: PricingScope,\n feeType: PricingFeeType,\n expectedRevision: string,\n ): Promise<PricingScopeView> {\n switch (scope.level) {\n case 'brand_default':\n throw new TypeError('A brand default price cannot be removed.');\n case 'merchant':\n if (!scope.merchant_id) {\n throw new TypeError('Merchant scope requires merchant_id.');\n }\n return this.removeMerchant(scope.merchant_id, feeType, expectedRevision);\n case 'project':\n if (!scope.merchant_id || !scope.project_id) {\n throw new TypeError('Project scope requires merchant_id and project_id.');\n }\n return this.removeProject(scope.merchant_id, scope.project_id, feeType, expectedRevision);\n case 'shop':\n if (!scope.merchant_id || !scope.profile_id) {\n throw new TypeError('Shop scope requires merchant_id and profile_id.');\n }\n return this.removeShop(scope.merchant_id, scope.profile_id, feeType, expectedRevision);\n }\n }\n\n /** Cancel a future scheduled version. `DELETE /admin-portal/pricing/versions/{version_id}` */\n async cancelVersion(\n versionId: string,\n feeType: PricingFeeType,\n scope: PricingScope,\n expectedRevision: string,\n ): Promise<PricingScopeView> {\n const scopeQuery = scopeCancelQuery(scope);\n return this.request('DELETE', `${BASE}/versions/${encodeURIComponent(versionId)}`, {\n query: {\n fee_type: feeType,\n ...scopeQuery,\n expected_revision: expectedRevision,\n },\n });\n }\n\n /** Read a merchant's effective and explicit pricing brand. `GET /admin-portal/pricing/merchants/{merchant_id}/brand` */\n async getMerchantBrand(merchantId: string): Promise<MerchantPricingBrandResponse> {\n return this.request('GET', `${merchantBasePath(merchantId)}/brand`);\n }\n\n /** Assign a merchant's pricing brand (`'delopay'` / `'spicepay'`), or `null` to inherit the deployment brand. `PUT /admin-portal/pricing/merchants/{merchant_id}/brand` */\n async setMerchantBrand(\n merchantId: string,\n brand: PricingBrand | null,\n ): Promise<MerchantPricingBrandResponse> {\n return this.request('PUT', `${merchantBasePath(merchantId)}/brand`, {\n body: { brand },\n });\n }\n}\n"],"mappings":"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","names":[]}
@@ -0,0 +1,163 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }// src/internal/resources/adminPricing.ts
2
+ var BASE = "/admin-portal/pricing";
3
+ var brandPath = (brand, feeType) => `${BASE}/brands/${encodeURIComponent(brand)}/${encodeURIComponent(feeType)}`;
4
+ var merchantBasePath = (merchantId) => `${BASE}/merchants/${encodeURIComponent(merchantId)}`;
5
+ var merchantFeePath = (merchantId, feeType) => `${merchantBasePath(merchantId)}/${encodeURIComponent(feeType)}`;
6
+ var projectFeePath = (merchantId, projectId, feeType) => `${merchantBasePath(merchantId)}/projects/${encodeURIComponent(projectId)}/${encodeURIComponent(feeType)}`;
7
+ var shopFeePath = (merchantId, profileId, feeType) => `${merchantBasePath(merchantId)}/shops/${encodeURIComponent(profileId)}/${encodeURIComponent(feeType)}`;
8
+ function scopeCancelQuery(scope) {
9
+ switch (scope.level) {
10
+ case "brand_default":
11
+ if (!scope.brand) {
12
+ throw new TypeError("Brand default scope requires brand.");
13
+ }
14
+ return { brand: scope.brand };
15
+ case "merchant":
16
+ if (!scope.merchant_id) {
17
+ throw new TypeError("Merchant scope requires merchant_id.");
18
+ }
19
+ return { merchant_id: scope.merchant_id };
20
+ case "project":
21
+ if (!scope.merchant_id || !scope.project_id) {
22
+ throw new TypeError("Project scope requires merchant_id and project_id.");
23
+ }
24
+ return { merchant_id: scope.merchant_id, project_id: scope.project_id };
25
+ case "shop":
26
+ if (!scope.merchant_id || !scope.profile_id) {
27
+ throw new TypeError("Shop scope requires merchant_id and profile_id.");
28
+ }
29
+ return { merchant_id: scope.merchant_id, profile_id: scope.profile_id };
30
+ }
31
+ }
32
+ var AdminPricing = class {
33
+ constructor(request) {
34
+ this.request = request;
35
+ }
36
+ /** Brand defaults, active/scheduled exceptions, and older setups. `GET /admin-portal/pricing` */
37
+ async overview(params) {
38
+ return this.request("GET", BASE, {
39
+ query: {
40
+ merchant_id: _optionalChain([params, 'optionalAccess', _ => _.merchant_id]),
41
+ fee_type: _optionalChain([params, 'optionalAccess', _2 => _2.fee_type])
42
+ }
43
+ });
44
+ }
45
+ /** Effective price view naming the exact source of every fee type. `GET /admin-portal/pricing/effective` */
46
+ async effective(params) {
47
+ return this.request("GET", `${BASE}/effective`, {
48
+ query: {
49
+ merchant_id: params.merchant_id,
50
+ project_id: params.project_id,
51
+ profile_id: params.profile_id,
52
+ at: params.at
53
+ }
54
+ });
55
+ }
56
+ /** Save a brand default price. `PUT /admin-portal/pricing/brands/{brand}/{fee_type}` */
57
+ async saveBrand(brand, feeType, params) {
58
+ return this.request("PUT", brandPath(brand, feeType), { body: params });
59
+ }
60
+ /** Save a merchant exception. `PUT /admin-portal/pricing/merchants/{merchant_id}/{fee_type}` */
61
+ async saveMerchant(merchantId, feeType, params) {
62
+ return this.request("PUT", merchantFeePath(merchantId, feeType), { body: params });
63
+ }
64
+ /** Remove a merchant exception. `DELETE /admin-portal/pricing/merchants/{merchant_id}/{fee_type}` */
65
+ async removeMerchant(merchantId, feeType, expectedRevision) {
66
+ return this.request("DELETE", merchantFeePath(merchantId, feeType), {
67
+ query: { expected_revision: expectedRevision }
68
+ });
69
+ }
70
+ /** Save a project exception. `PUT /admin-portal/pricing/merchants/{merchant_id}/projects/{project_id}/{fee_type}` */
71
+ async saveProject(merchantId, projectId, feeType, params) {
72
+ return this.request("PUT", projectFeePath(merchantId, projectId, feeType), { body: params });
73
+ }
74
+ /** Remove a project exception. `DELETE /admin-portal/pricing/merchants/{merchant_id}/projects/{project_id}/{fee_type}` */
75
+ async removeProject(merchantId, projectId, feeType, expectedRevision) {
76
+ return this.request("DELETE", projectFeePath(merchantId, projectId, feeType), {
77
+ query: { expected_revision: expectedRevision }
78
+ });
79
+ }
80
+ /** Save a shop exception. `PUT /admin-portal/pricing/merchants/{merchant_id}/shops/{profile_id}/{fee_type}` */
81
+ async saveShop(merchantId, profileId, feeType, params) {
82
+ return this.request("PUT", shopFeePath(merchantId, profileId, feeType), { body: params });
83
+ }
84
+ /** Remove a shop exception. `DELETE /admin-portal/pricing/merchants/{merchant_id}/shops/{profile_id}/{fee_type}` */
85
+ async removeShop(merchantId, profileId, feeType, expectedRevision) {
86
+ return this.request("DELETE", shopFeePath(merchantId, profileId, feeType), {
87
+ query: { expected_revision: expectedRevision }
88
+ });
89
+ }
90
+ /** Save a price at any scope in the hierarchy (brand default, merchant, project, or shop). */
91
+ async save(scope, feeType, params) {
92
+ switch (scope.level) {
93
+ case "brand_default":
94
+ if (!scope.brand) {
95
+ throw new TypeError("Brand default scope requires brand.");
96
+ }
97
+ return this.saveBrand(scope.brand, feeType, params);
98
+ case "merchant":
99
+ if (!scope.merchant_id) {
100
+ throw new TypeError("Merchant scope requires merchant_id.");
101
+ }
102
+ return this.saveMerchant(scope.merchant_id, feeType, params);
103
+ case "project":
104
+ if (!scope.merchant_id || !scope.project_id) {
105
+ throw new TypeError("Project scope requires merchant_id and project_id.");
106
+ }
107
+ return this.saveProject(scope.merchant_id, scope.project_id, feeType, params);
108
+ case "shop":
109
+ if (!scope.merchant_id || !scope.profile_id) {
110
+ throw new TypeError("Shop scope requires merchant_id and profile_id.");
111
+ }
112
+ return this.saveShop(scope.merchant_id, scope.profile_id, feeType, params);
113
+ }
114
+ }
115
+ /** Remove an exception scope; brand defaults cannot be removed. */
116
+ async remove(scope, feeType, expectedRevision) {
117
+ switch (scope.level) {
118
+ case "brand_default":
119
+ throw new TypeError("A brand default price cannot be removed.");
120
+ case "merchant":
121
+ if (!scope.merchant_id) {
122
+ throw new TypeError("Merchant scope requires merchant_id.");
123
+ }
124
+ return this.removeMerchant(scope.merchant_id, feeType, expectedRevision);
125
+ case "project":
126
+ if (!scope.merchant_id || !scope.project_id) {
127
+ throw new TypeError("Project scope requires merchant_id and project_id.");
128
+ }
129
+ return this.removeProject(scope.merchant_id, scope.project_id, feeType, expectedRevision);
130
+ case "shop":
131
+ if (!scope.merchant_id || !scope.profile_id) {
132
+ throw new TypeError("Shop scope requires merchant_id and profile_id.");
133
+ }
134
+ return this.removeShop(scope.merchant_id, scope.profile_id, feeType, expectedRevision);
135
+ }
136
+ }
137
+ /** Cancel a future scheduled version. `DELETE /admin-portal/pricing/versions/{version_id}` */
138
+ async cancelVersion(versionId, feeType, scope, expectedRevision) {
139
+ const scopeQuery = scopeCancelQuery(scope);
140
+ return this.request("DELETE", `${BASE}/versions/${encodeURIComponent(versionId)}`, {
141
+ query: {
142
+ fee_type: feeType,
143
+ ...scopeQuery,
144
+ expected_revision: expectedRevision
145
+ }
146
+ });
147
+ }
148
+ /** Read a merchant's effective and explicit pricing brand. `GET /admin-portal/pricing/merchants/{merchant_id}/brand` */
149
+ async getMerchantBrand(merchantId) {
150
+ return this.request("GET", `${merchantBasePath(merchantId)}/brand`);
151
+ }
152
+ /** Assign a merchant's pricing brand (`'delopay'` / `'spicepay'`), or `null` to inherit the deployment brand. `PUT /admin-portal/pricing/merchants/{merchant_id}/brand` */
153
+ async setMerchantBrand(merchantId, brand) {
154
+ return this.request("PUT", `${merchantBasePath(merchantId)}/brand`, {
155
+ body: { brand }
156
+ });
157
+ }
158
+ };
159
+
160
+
161
+
162
+ exports.AdminPricing = AdminPricing;
163
+ //# sourceMappingURL=chunk-CYH4HZ4Y.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/home/anes/delo-payment/delopay-typescript-sdk/dist/chunk-CYH4HZ4Y.cjs","../src/internal/resources/adminPricing.ts"],"names":[],"mappings":"AAAA;ACcA,IAAM,KAAA,EAAO,uBAAA;AACb,IAAM,UAAA,EAAY,CAAC,KAAA,EAAqB,OAAA,EAAA,GACtC,CAAA,EAAA;AACwB;AAEmB;AAED;AAEH;AAG8B;AAChD,EAAA;AACd,IAAA;AACe,MAAA;AACI,QAAA;AACtB,MAAA;AAC4B,MAAA;AACzB,IAAA;AACqB,MAAA;AACF,QAAA;AACtB,MAAA;AAC4B,MAAA;AACzB,IAAA;AACwB,MAAA;AACL,QAAA;AACtB,MAAA;AAC4B,MAAA;AACzB,IAAA;AACwB,MAAA;AACL,QAAA;AACtB,MAAA;AAC4B,MAAA;AAChC,EAAA;AACF;AAU0B;AACyB,EAAA;AAApB,IAAA;AAAqB,EAAA;AAAA;AAGsB,EAAA;AACrC,IAAA;AACxB,MAAA;AACgB,QAAA;AACH,QAAA;AACpB,MAAA;AACD,IAAA;AACH,EAAA;AAAA;AAGkF,EAAA;AAClD,IAAA;AACrB,MAAA;AACe,QAAA;AACD,QAAA;AACA,QAAA;AACR,QAAA;AACb,MAAA;AACD,IAAA;AACH,EAAA;AAAA;AAME,EAAA;AAE2B,IAAA;AAC7B,EAAA;AAAA;AAKE,EAAA;AAG2B,IAAA;AAC7B,EAAA;AAAA;AAKE,EAAA;AAG8B,IAAA;AACA,MAAA;AAC7B,IAAA;AACH,EAAA;AAAA;AAKE,EAAA;AAI2B,IAAA;AAC7B,EAAA;AAAA;AAKE,EAAA;AAI8B,IAAA;AACA,MAAA;AAC7B,IAAA;AACH,EAAA;AAAA;AAKE,EAAA;AAI2B,IAAA;AAC7B,EAAA;AAAA;AAKE,EAAA;AAI8B,IAAA;AACA,MAAA;AAC7B,IAAA;AACH,EAAA;AAAA;AAO6B,EAAA;AACN,IAAA;AACd,MAAA;AACe,QAAA;AACI,UAAA;AACtB,QAAA;AAC4B,QAAA;AACzB,MAAA;AACqB,QAAA;AACF,UAAA;AACtB,QAAA;AACyB,QAAA;AACtB,MAAA;AACwB,QAAA;AACL,UAAA;AACtB,QAAA;AACwB,QAAA;AACrB,MAAA;AACwB,QAAA;AACL,UAAA;AACtB,QAAA;AAC2B,QAAA;AAC/B,IAAA;AACF,EAAA;AAAA;AAME,EAAA;AAEqB,IAAA;AACd,MAAA;AACiB,QAAA;AACjB,MAAA;AACqB,QAAA;AACF,UAAA;AACtB,QAAA;AAC2B,QAAA;AACxB,MAAA;AACwB,QAAA;AACL,UAAA;AACtB,QAAA;AAC0B,QAAA;AACvB,MAAA;AACwB,QAAA;AACL,UAAA;AACtB,QAAA;AAC6B,QAAA;AACjC,IAAA;AACF,EAAA;AAAA;AAKE,EAAA;AAImB,IAAA;AACc,IAAA;AACxB,MAAA;AACK,QAAA;AACP,QAAA;AACgB,QAAA;AACrB,MAAA;AACD,IAAA;AACH,EAAA;AAAA;AAGkF,EAAA;AAClD,IAAA;AAChC,EAAA;AAAA;AAKE,EAAA;AAE8B,IAAA;AACd,MAAA;AACf,IAAA;AACH,EAAA;AACF;ADvFqC;AACA;AACA;AACA","file":"/home/anes/delo-payment/delopay-typescript-sdk/dist/chunk-CYH4HZ4Y.cjs","sourcesContent":[null,"import type { RequestFn } from '../../client';\nimport type {\n EffectivePricingQuery,\n EffectivePricingResponse,\n MerchantPricingBrandResponse,\n PricingBrand,\n PricingFeeType,\n PricingOverview,\n PricingOverviewQuery,\n PricingSaveRequest,\n PricingScope,\n PricingScopeView,\n} from '../types';\n\nconst BASE = '/admin-portal/pricing';\nconst brandPath = (brand: PricingBrand, feeType: PricingFeeType): string =>\n `${BASE}/brands/${encodeURIComponent(brand)}/${encodeURIComponent(feeType)}`;\nconst merchantBasePath = (merchantId: string): string =>\n `${BASE}/merchants/${encodeURIComponent(merchantId)}`;\nconst merchantFeePath = (merchantId: string, feeType: PricingFeeType): string =>\n `${merchantBasePath(merchantId)}/${encodeURIComponent(feeType)}`;\nconst projectFeePath = (merchantId: string, projectId: string, feeType: PricingFeeType): string =>\n `${merchantBasePath(merchantId)}/projects/${encodeURIComponent(projectId)}/${encodeURIComponent(feeType)}`;\nconst shopFeePath = (merchantId: string, profileId: string, feeType: PricingFeeType): string =>\n `${merchantBasePath(merchantId)}/shops/${encodeURIComponent(profileId)}/${encodeURIComponent(feeType)}`;\n\nfunction scopeCancelQuery(scope: PricingScope): Record<string, string> {\n switch (scope.level) {\n case 'brand_default':\n if (!scope.brand) {\n throw new TypeError('Brand default scope requires brand.');\n }\n return { brand: scope.brand };\n case 'merchant':\n if (!scope.merchant_id) {\n throw new TypeError('Merchant scope requires merchant_id.');\n }\n return { merchant_id: scope.merchant_id };\n case 'project':\n if (!scope.merchant_id || !scope.project_id) {\n throw new TypeError('Project scope requires merchant_id and project_id.');\n }\n return { merchant_id: scope.merchant_id, project_id: scope.project_id };\n case 'shop':\n if (!scope.merchant_id || !scope.profile_id) {\n throw new TypeError('Shop scope requires merchant_id and profile_id.');\n }\n return { merchant_id: scope.merchant_id, profile_id: scope.profile_id };\n }\n}\n\n/**\n * Unified platform pricing hierarchy across every fee type: brand default\n * (`delopay` / `spicepay`), merchant, project, and shop, plus the Effective\n * Price View showing where every price comes from.\n *\n * Every write carries the scope's optimistic `expected_revision` token; a write\n * against an older revision is refused with `412 Precondition Failed`.\n */\nexport class AdminPricing {\n constructor(private readonly request: RequestFn) {}\n\n /** Brand defaults, active/scheduled exceptions, and older setups. `GET /admin-portal/pricing` */\n async overview(params?: PricingOverviewQuery): Promise<PricingOverview> {\n return this.request('GET', BASE, {\n query: {\n merchant_id: params?.merchant_id,\n fee_type: params?.fee_type,\n },\n });\n }\n\n /** Effective price view naming the exact source of every fee type. `GET /admin-portal/pricing/effective` */\n async effective(params: EffectivePricingQuery): Promise<EffectivePricingResponse> {\n return this.request('GET', `${BASE}/effective`, {\n query: {\n merchant_id: params.merchant_id,\n project_id: params.project_id,\n profile_id: params.profile_id,\n at: params.at,\n },\n });\n }\n\n /** Save a brand default price. `PUT /admin-portal/pricing/brands/{brand}/{fee_type}` */\n async saveBrand(\n brand: PricingBrand,\n feeType: PricingFeeType,\n params: PricingSaveRequest,\n ): Promise<PricingScopeView> {\n return this.request('PUT', brandPath(brand, feeType), { body: params });\n }\n\n /** Save a merchant exception. `PUT /admin-portal/pricing/merchants/{merchant_id}/{fee_type}` */\n async saveMerchant(\n merchantId: string,\n feeType: PricingFeeType,\n params: PricingSaveRequest,\n ): Promise<PricingScopeView> {\n return this.request('PUT', merchantFeePath(merchantId, feeType), { body: params });\n }\n\n /** Remove a merchant exception. `DELETE /admin-portal/pricing/merchants/{merchant_id}/{fee_type}` */\n async removeMerchant(\n merchantId: string,\n feeType: PricingFeeType,\n expectedRevision: string,\n ): Promise<PricingScopeView> {\n return this.request('DELETE', merchantFeePath(merchantId, feeType), {\n query: { expected_revision: expectedRevision },\n });\n }\n\n /** Save a project exception. `PUT /admin-portal/pricing/merchants/{merchant_id}/projects/{project_id}/{fee_type}` */\n async saveProject(\n merchantId: string,\n projectId: string,\n feeType: PricingFeeType,\n params: PricingSaveRequest,\n ): Promise<PricingScopeView> {\n return this.request('PUT', projectFeePath(merchantId, projectId, feeType), { body: params });\n }\n\n /** Remove a project exception. `DELETE /admin-portal/pricing/merchants/{merchant_id}/projects/{project_id}/{fee_type}` */\n async removeProject(\n merchantId: string,\n projectId: string,\n feeType: PricingFeeType,\n expectedRevision: string,\n ): Promise<PricingScopeView> {\n return this.request('DELETE', projectFeePath(merchantId, projectId, feeType), {\n query: { expected_revision: expectedRevision },\n });\n }\n\n /** Save a shop exception. `PUT /admin-portal/pricing/merchants/{merchant_id}/shops/{profile_id}/{fee_type}` */\n async saveShop(\n merchantId: string,\n profileId: string,\n feeType: PricingFeeType,\n params: PricingSaveRequest,\n ): Promise<PricingScopeView> {\n return this.request('PUT', shopFeePath(merchantId, profileId, feeType), { body: params });\n }\n\n /** Remove a shop exception. `DELETE /admin-portal/pricing/merchants/{merchant_id}/shops/{profile_id}/{fee_type}` */\n async removeShop(\n merchantId: string,\n profileId: string,\n feeType: PricingFeeType,\n expectedRevision: string,\n ): Promise<PricingScopeView> {\n return this.request('DELETE', shopFeePath(merchantId, profileId, feeType), {\n query: { expected_revision: expectedRevision },\n });\n }\n\n /** Save a price at any scope in the hierarchy (brand default, merchant, project, or shop). */\n async save(\n scope: PricingScope,\n feeType: PricingFeeType,\n params: PricingSaveRequest,\n ): Promise<PricingScopeView> {\n switch (scope.level) {\n case 'brand_default':\n if (!scope.brand) {\n throw new TypeError('Brand default scope requires brand.');\n }\n return this.saveBrand(scope.brand, feeType, params);\n case 'merchant':\n if (!scope.merchant_id) {\n throw new TypeError('Merchant scope requires merchant_id.');\n }\n return this.saveMerchant(scope.merchant_id, feeType, params);\n case 'project':\n if (!scope.merchant_id || !scope.project_id) {\n throw new TypeError('Project scope requires merchant_id and project_id.');\n }\n return this.saveProject(scope.merchant_id, scope.project_id, feeType, params);\n case 'shop':\n if (!scope.merchant_id || !scope.profile_id) {\n throw new TypeError('Shop scope requires merchant_id and profile_id.');\n }\n return this.saveShop(scope.merchant_id, scope.profile_id, feeType, params);\n }\n }\n\n /** Remove an exception scope; brand defaults cannot be removed. */\n async remove(\n scope: PricingScope,\n feeType: PricingFeeType,\n expectedRevision: string,\n ): Promise<PricingScopeView> {\n switch (scope.level) {\n case 'brand_default':\n throw new TypeError('A brand default price cannot be removed.');\n case 'merchant':\n if (!scope.merchant_id) {\n throw new TypeError('Merchant scope requires merchant_id.');\n }\n return this.removeMerchant(scope.merchant_id, feeType, expectedRevision);\n case 'project':\n if (!scope.merchant_id || !scope.project_id) {\n throw new TypeError('Project scope requires merchant_id and project_id.');\n }\n return this.removeProject(scope.merchant_id, scope.project_id, feeType, expectedRevision);\n case 'shop':\n if (!scope.merchant_id || !scope.profile_id) {\n throw new TypeError('Shop scope requires merchant_id and profile_id.');\n }\n return this.removeShop(scope.merchant_id, scope.profile_id, feeType, expectedRevision);\n }\n }\n\n /** Cancel a future scheduled version. `DELETE /admin-portal/pricing/versions/{version_id}` */\n async cancelVersion(\n versionId: string,\n feeType: PricingFeeType,\n scope: PricingScope,\n expectedRevision: string,\n ): Promise<PricingScopeView> {\n const scopeQuery = scopeCancelQuery(scope);\n return this.request('DELETE', `${BASE}/versions/${encodeURIComponent(versionId)}`, {\n query: {\n fee_type: feeType,\n ...scopeQuery,\n expected_revision: expectedRevision,\n },\n });\n }\n\n /** Read a merchant's effective and explicit pricing brand. `GET /admin-portal/pricing/merchants/{merchant_id}/brand` */\n async getMerchantBrand(merchantId: string): Promise<MerchantPricingBrandResponse> {\n return this.request('GET', `${merchantBasePath(merchantId)}/brand`);\n }\n\n /** Assign a merchant's pricing brand (`'delopay'` / `'spicepay'`), or `null` to inherit the deployment brand. `PUT /admin-portal/pricing/merchants/{merchant_id}/brand` */\n async setMerchantBrand(\n merchantId: string,\n brand: PricingBrand | null,\n ): Promise<MerchantPricingBrandResponse> {\n return this.request('PUT', `${merchantBasePath(merchantId)}/brand`, {\n body: { brand },\n });\n }\n}\n"]}
@@ -1,5 +1,5 @@
1
1
  import { AuthResponse, SignUpWithMerchantIdRequest } from '../../types.cjs';
2
- import { T as AdminSignInRequest, bG as CreateInternalUserRequest, aq as AuthorizeResponse, bI as CreateTenantUserRequest, gS as SignupToggleRequest, gT as SignupToggleResponse, eU as OnboardMerchantRequest, eV as OnboardMerchantResponse } from '../../types-B3aryu0m.cjs';
2
+ import { T as AdminSignInRequest, bG as CreateInternalUserRequest, aq as AuthorizeResponse, bI as CreateTenantUserRequest, hc as SignupToggleRequest, hd as SignupToggleResponse, f2 as OnboardMerchantRequest, f3 as OnboardMerchantResponse } from '../../types-DgqmdNah.cjs';
3
3
  import { RequestFn } from '../../core.cjs';
4
4
  import '../../currencies.cjs';
5
5
  import '../../eventStream.cjs';
@@ -1,5 +1,5 @@
1
1
  import { AuthResponse, SignUpWithMerchantIdRequest } from '../../types.js';
2
- import { T as AdminSignInRequest, bG as CreateInternalUserRequest, aq as AuthorizeResponse, bI as CreateTenantUserRequest, gS as SignupToggleRequest, gT as SignupToggleResponse, eU as OnboardMerchantRequest, eV as OnboardMerchantResponse } from '../../types-oEDLbeac.js';
2
+ import { T as AdminSignInRequest, bG as CreateInternalUserRequest, aq as AuthorizeResponse, bI as CreateTenantUserRequest, hc as SignupToggleRequest, hd as SignupToggleResponse, f2 as OnboardMerchantRequest, f3 as OnboardMerchantResponse } from '../../types-B3FAxTbG.js';
3
3
  import { RequestFn } from '../../core.js';
4
4
  import '../../currencies.js';
5
5
  import '../../eventStream.js';
@@ -1,5 +1,5 @@
1
1
  import { RequestFn, RequestExtras } from '../../core.cjs';
2
- import { az as BrandingAdminResponse, aA as BrandingUpdateRequest } from '../../types-B3aryu0m.cjs';
2
+ import { az as BrandingAdminResponse, aA as BrandingUpdateRequest } from '../../types-DgqmdNah.cjs';
3
3
  import '../../eventStream.cjs';
4
4
  import '../../types.cjs';
5
5
  import '../../currencies.cjs';
@@ -1,5 +1,5 @@
1
1
  import { RequestFn, RequestExtras } from '../../core.js';
2
- import { az as BrandingAdminResponse, aA as BrandingUpdateRequest } from '../../types-oEDLbeac.js';
2
+ import { az as BrandingAdminResponse, aA as BrandingUpdateRequest } from '../../types-B3FAxTbG.js';
3
3
  import '../../eventStream.js';
4
4
  import '../../types.js';
5
5
  import '../../currencies.js';
@@ -1,4 +1,4 @@
1
- import { a_ as CheckoutDomainsOverview, b3 as CheckoutHostChecksQuery, b2 as CheckoutHostCheckList, aU as CheckoutDomainCreateRequest, aW as CheckoutDomainResponse, ae as ApplePayVerificationFileCreateRequest, af as ApplePayVerificationFileResponse, ag as ApplePayVerificationFileUpdateRequest, b6 as CheckoutHostHealthQuery, b5 as CheckoutHostHealthList, b4 as CheckoutHostCreateRequest, b0 as CheckoutHostAvailabilityQuery, a$ as CheckoutHostAvailability, b9 as CheckoutHostPrimaryImpact, bb as CheckoutHostRegistrationCounts, bf as CheckoutHostRenameRequest, bg as CheckoutHostRenameResponse, bc as CheckoutHostRenameImpact, fj as PlatformCloudflare, fl as PlatformCloudflareConnect, dK as MerchantHostsQuery, dJ as MerchantHostsList, u as AdminMerchantCheckoutDomains, aZ as CheckoutDomainsEntitlementUpdate, aY as CheckoutDomainsEntitlementSaved, dH as MerchantHostSuspendRequest, aX as CheckoutDomainsEntitlementPreview, aT as CheckoutDomainAdminAlerts } from '../../types-B3aryu0m.cjs';
1
+ import { a_ as CheckoutDomainsOverview, b3 as CheckoutHostChecksQuery, b2 as CheckoutHostCheckList, aU as CheckoutDomainCreateRequest, aW as CheckoutDomainResponse, ae as ApplePayVerificationFileCreateRequest, af as ApplePayVerificationFileResponse, ag as ApplePayVerificationFileUpdateRequest, b6 as CheckoutHostHealthQuery, b5 as CheckoutHostHealthList, b4 as CheckoutHostCreateRequest, b0 as CheckoutHostAvailabilityQuery, a$ as CheckoutHostAvailability, b9 as CheckoutHostPrimaryImpact, bb as CheckoutHostRegistrationCounts, bf as CheckoutHostRenameRequest, bg as CheckoutHostRenameResponse, bc as CheckoutHostRenameImpact, ft as PlatformCloudflare, fv as PlatformCloudflareConnect, dS as MerchantHostsQuery, dR as MerchantHostsList, u as AdminMerchantCheckoutDomains, aZ as CheckoutDomainsEntitlementUpdate, aY as CheckoutDomainsEntitlementSaved, dP as MerchantHostSuspendRequest, aX as CheckoutDomainsEntitlementPreview, aT as CheckoutDomainAdminAlerts } from '../../types-DgqmdNah.cjs';
2
2
  import { CheckoutHostResponse, CheckoutHostUpdateRequest, CheckoutHostHealthDetail, CheckoutHostPauseRequest, CheckoutHostPreview, CloudflareOAuthStart, CloudflareOAuthCallback } from '../../types.cjs';
3
3
  import { RequestFn } from '../../core.cjs';
4
4
  import '../../currencies.cjs';
@@ -1,4 +1,4 @@
1
- import { a_ as CheckoutDomainsOverview, b3 as CheckoutHostChecksQuery, b2 as CheckoutHostCheckList, aU as CheckoutDomainCreateRequest, aW as CheckoutDomainResponse, ae as ApplePayVerificationFileCreateRequest, af as ApplePayVerificationFileResponse, ag as ApplePayVerificationFileUpdateRequest, b6 as CheckoutHostHealthQuery, b5 as CheckoutHostHealthList, b4 as CheckoutHostCreateRequest, b0 as CheckoutHostAvailabilityQuery, a$ as CheckoutHostAvailability, b9 as CheckoutHostPrimaryImpact, bb as CheckoutHostRegistrationCounts, bf as CheckoutHostRenameRequest, bg as CheckoutHostRenameResponse, bc as CheckoutHostRenameImpact, fj as PlatformCloudflare, fl as PlatformCloudflareConnect, dK as MerchantHostsQuery, dJ as MerchantHostsList, u as AdminMerchantCheckoutDomains, aZ as CheckoutDomainsEntitlementUpdate, aY as CheckoutDomainsEntitlementSaved, dH as MerchantHostSuspendRequest, aX as CheckoutDomainsEntitlementPreview, aT as CheckoutDomainAdminAlerts } from '../../types-oEDLbeac.js';
1
+ import { a_ as CheckoutDomainsOverview, b3 as CheckoutHostChecksQuery, b2 as CheckoutHostCheckList, aU as CheckoutDomainCreateRequest, aW as CheckoutDomainResponse, ae as ApplePayVerificationFileCreateRequest, af as ApplePayVerificationFileResponse, ag as ApplePayVerificationFileUpdateRequest, b6 as CheckoutHostHealthQuery, b5 as CheckoutHostHealthList, b4 as CheckoutHostCreateRequest, b0 as CheckoutHostAvailabilityQuery, a$ as CheckoutHostAvailability, b9 as CheckoutHostPrimaryImpact, bb as CheckoutHostRegistrationCounts, bf as CheckoutHostRenameRequest, bg as CheckoutHostRenameResponse, bc as CheckoutHostRenameImpact, ft as PlatformCloudflare, fv as PlatformCloudflareConnect, dS as MerchantHostsQuery, dR as MerchantHostsList, u as AdminMerchantCheckoutDomains, aZ as CheckoutDomainsEntitlementUpdate, aY as CheckoutDomainsEntitlementSaved, dP as MerchantHostSuspendRequest, aX as CheckoutDomainsEntitlementPreview, aT as CheckoutDomainAdminAlerts } from '../../types-B3FAxTbG.js';
2
2
  import { CheckoutHostResponse, CheckoutHostUpdateRequest, CheckoutHostHealthDetail, CheckoutHostPauseRequest, CheckoutHostPreview, CloudflareOAuthStart, CloudflareOAuthCallback } from '../../types.js';
3
3
  import { RequestFn } from '../../core.js';
4
4
  import '../../currencies.js';
@@ -1,5 +1,5 @@
1
1
  import { RequestFn } from '../../core.cjs';
2
- import { cR as FeePlanOverview, cU as FeePlanSaveRequest, cW as FeePlanScopeView, cV as FeePlanScope, cP as FeePlanConnectorAccount, cS as FeePlanPreviewRequest, cT as FeePlanPreviewResponse } from '../../types-B3aryu0m.cjs';
2
+ import { cZ as FeePlanOverview, d0 as FeePlanSaveRequest, d2 as FeePlanScopeView, d1 as FeePlanScope, cV as FeePlanConnectorAccount, c_ as FeePlanPreviewRequest, c$ as FeePlanPreviewResponse } from '../../types-DgqmdNah.cjs';
3
3
  import '../../eventStream.cjs';
4
4
  import '../../types.cjs';
5
5
  import '../../currencies.cjs';
@@ -1,5 +1,5 @@
1
1
  import { RequestFn } from '../../core.js';
2
- import { cR as FeePlanOverview, cU as FeePlanSaveRequest, cW as FeePlanScopeView, cV as FeePlanScope, cP as FeePlanConnectorAccount, cS as FeePlanPreviewRequest, cT as FeePlanPreviewResponse } from '../../types-oEDLbeac.js';
2
+ import { cZ as FeePlanOverview, d0 as FeePlanSaveRequest, d2 as FeePlanScopeView, d1 as FeePlanScope, cV as FeePlanConnectorAccount, c_ as FeePlanPreviewRequest, c$ as FeePlanPreviewResponse } from '../../types-B3FAxTbG.js';
3
3
  import '../../eventStream.js';
4
4
  import '../../types.js';
5
5
  import '../../currencies.js';
@@ -1,5 +1,5 @@
1
1
  import { RequestFn } from '../../core.cjs';
2
- import { d1 as FileScanStatus, d4 as FileScannerTestRequest, d2 as FileScannerCheck, au as BlockedFileQuery, at as BlockedFileList } from '../../types-B3aryu0m.cjs';
2
+ import { d9 as FileScanStatus, dc as FileScannerTestRequest, da as FileScannerCheck, au as BlockedFileQuery, at as BlockedFileList } from '../../types-DgqmdNah.cjs';
3
3
  import '../../eventStream.cjs';
4
4
  import '../../types.cjs';
5
5
  import '../../currencies.cjs';
@@ -1,5 +1,5 @@
1
1
  import { RequestFn } from '../../core.js';
2
- import { d1 as FileScanStatus, d4 as FileScannerTestRequest, d2 as FileScannerCheck, au as BlockedFileQuery, at as BlockedFileList } from '../../types-oEDLbeac.js';
2
+ import { d9 as FileScanStatus, dc as FileScannerTestRequest, da as FileScannerCheck, au as BlockedFileQuery, at as BlockedFileList } from '../../types-B3FAxTbG.js';
3
3
  import '../../eventStream.js';
4
4
  import '../../types.js';
5
5
  import '../../currencies.js';
@@ -1,5 +1,5 @@
1
1
  import { RequestFn } from '../../core.cjs';
2
- import { dh as IndustryCatalog, dm as IndustryCreateRequest, dj as IndustryCategory, dt as IndustryRenameRequest, df as IndustryAvailability, dr as IndustryPreviewQuery, dp as IndustryPreview, dE as MerchantDefinedIndustryQuery, dD as MerchantDefinedIndustryList, dn as IndustryMapRequest, dC as MerchantDefinedIndustry } from '../../types-B3aryu0m.cjs';
2
+ import { dq as IndustryCatalog, dv as IndustryCreateRequest, ds as IndustryCategory, dB as IndustryRenameRequest, dn as IndustryAvailability, dz as IndustryPreviewQuery, dx as IndustryPreview, dM as MerchantDefinedIndustryQuery, dL as MerchantDefinedIndustryList, dw as IndustryMapRequest, dK as MerchantDefinedIndustry } from '../../types-DgqmdNah.cjs';
3
3
  import '../../eventStream.cjs';
4
4
  import '../../types.cjs';
5
5
  import '../../currencies.cjs';
@@ -1,5 +1,5 @@
1
1
  import { RequestFn } from '../../core.js';
2
- import { dh as IndustryCatalog, dm as IndustryCreateRequest, dj as IndustryCategory, dt as IndustryRenameRequest, df as IndustryAvailability, dr as IndustryPreviewQuery, dp as IndustryPreview, dE as MerchantDefinedIndustryQuery, dD as MerchantDefinedIndustryList, dn as IndustryMapRequest, dC as MerchantDefinedIndustry } from '../../types-oEDLbeac.js';
2
+ import { dq as IndustryCatalog, dv as IndustryCreateRequest, ds as IndustryCategory, dB as IndustryRenameRequest, dn as IndustryAvailability, dz as IndustryPreviewQuery, dx as IndustryPreview, dM as MerchantDefinedIndustryQuery, dL as MerchantDefinedIndustryList, dw as IndustryMapRequest, dK as MerchantDefinedIndustry } from '../../types-B3FAxTbG.js';
3
3
  import '../../eventStream.js';
4
4
  import '../../types.js';
5
5
  import '../../currencies.js';
@@ -1,6 +1,6 @@
1
1
  import { RequestFn } from '../../core.cjs';
2
2
  import { NoticeListParams, NoticeList } from '../../types.cjs';
3
- import { fC as PlatformNoticeOptions, fx as PlatformNoticeAudience, fD as PlatformNoticePreview, fy as PlatformNoticeCreateParams, fw as PlatformNotice, fB as PlatformNoticeListParams, fA as PlatformNoticeList, fz as PlatformNoticeDetail, fE as PlatformNoticeUpdateParams } from '../../types-B3aryu0m.cjs';
3
+ import { fM as PlatformNoticeOptions, fH as PlatformNoticeAudience, fN as PlatformNoticePreview, fI as PlatformNoticeCreateParams, fG as PlatformNotice, fL as PlatformNoticeListParams, fK as PlatformNoticeList, fJ as PlatformNoticeDetail, fO as PlatformNoticeUpdateParams } from '../../types-DgqmdNah.cjs';
4
4
  import '../../eventStream.cjs';
5
5
  import '../../error.cjs';
6
6
  import '../../currencies.cjs';
@@ -1,6 +1,6 @@
1
1
  import { RequestFn } from '../../core.js';
2
2
  import { NoticeListParams, NoticeList } from '../../types.js';
3
- import { fC as PlatformNoticeOptions, fx as PlatformNoticeAudience, fD as PlatformNoticePreview, fy as PlatformNoticeCreateParams, fw as PlatformNotice, fB as PlatformNoticeListParams, fA as PlatformNoticeList, fz as PlatformNoticeDetail, fE as PlatformNoticeUpdateParams } from '../../types-oEDLbeac.js';
3
+ import { fM as PlatformNoticeOptions, fH as PlatformNoticeAudience, fN as PlatformNoticePreview, fI as PlatformNoticeCreateParams, fG as PlatformNotice, fL as PlatformNoticeListParams, fK as PlatformNoticeList, fJ as PlatformNoticeDetail, fO as PlatformNoticeUpdateParams } from '../../types-B3FAxTbG.js';
4
4
  import '../../eventStream.js';
5
5
  import '../../error.js';
6
6
  import '../../currencies.js';
@@ -1,5 +1,5 @@
1
1
  import { PersonListParams, PersonListResponse, PersonScopeParams, PersonResponse, RelatedPersonsResponse, PaymentPersonResponse, MerchantPersonFlagList, JsonExportOptions, ExportEnvelope, BinaryExportOptions, ExportOptions, CsvExportOptions, DynamicLineExportOptions, BuyerRiskEvaluationsResponse, ConnectionChecksResponse, PaymentProductLines, PaymentAttemptsListResponse, PaymentStatusHistoryResponse, PaymentLogsResponse, PaymentLogConnectorCallDetail, PaymentLogIncomingWebhookDetail, PaymentLogOutgoingWebhookDetail, InvoicePageQuery, InvoiceList, RefundListResponse, BuyerRefundRequestPageQuery, BuyerRefundRequestList, BuyerEvidenceQueueQuery, BuyerEvidenceQueue, PreventionCaseList, PreventionRefundRule, PreventionRefundActionList, PreventionCaseDetail, BuyerEvidenceReviewDetail, BuyerEvidenceInformationRequest, BuyerEvidenceReply, BuyerEvidenceReviewCreate, BuyerEvidenceNote, AnalyticsScopeRequest, AnalyticsScopeResponse, AdminAnalyticsExclusionsResponse, AdminAnalyticsExclusionRequest, AdminAnalyticsExclusionResponse, MerchantExclusionsForAdminResponse, AdminAnalyticsExclusionCopyRequest, AdminAnalyticsExclusionCopyResponse, AdminAnalyticsShopsRequest, AnalyticsShopsResponse, AdminAnalyticsConnectorsRequest, AnalyticsConnectorsResponse, IndustryAnalyticsRequest, IndustryAnalytics, ClientAnalyticsRequest, DevicesAnalyticsResponse, GeoAnalyticsResponse, GeoDrillRequest, DrillResponse, DeviceDrillRequest, ScopeDrillRequest, SubscriptionAnalyticsRequest, SubscriptionAnalyticsResponse, SubscriptionDrillRequest, MerchantAccountResponse, MerchantAccountUpdateRequest, LoginHistoryParams, LoginHistoryResponse, UserSessionListResponse, UserSessionRevokeResponse, AdminRevokeUserSessionsResponse, MemberMethodAccessResponse, UpdateMemberMethodAccessRequest, MemberPermissionOverridesResponse, UpdateMemberPermissionOverridesRequest, TokenResponse, ProfileResponse, SellToRestrictionsResponse, PaymentsDeleteResponse, PaymentIntegrationTestRequest, PaymentIntegrationTestResponse, PaymentClientContextListResponse, ProcessorCostEventsResponse, ProcessorCostScheduleResponse, CreateProcessorCostScheduleRequest, BulkCreateProcessorCostSchedulesRequest, UpdateProcessorCostScheduleRequest, ReplaceProcessorCostScheduleRequest, VatRateListParams, VatRateListResponse, VatRateResponse, ShopTermConsentResponse, ShopTermProposalListRequest, ShopTermProposalListResponse, ShopTermConsentEventListRequest, ShopTermConsentEventListResponse, SettlementAdvanceListRequest, SettlementAdvanceListResponse, SettlementPeriodListParams, SettlementPeriodListResponse, SettlementStatementListParams, SettlementStatementListResponse, FeeStatementDetail, StatementPdfParams, SettlementOverviewParams, SettlementOverviewResponse, NativeSettlementImportRequest, NativeSettlementImportDetail, NativeSettlementImportListParams, NativeSettlementImportList, NativeSettlementLateEntryCreateRequest, NativeSettlementLateEntry, NativeSettlementLateEntryListParams, NativeSettlementLateEntryList, NativeReportViewListRequest, NativeSettlementReportListResponse, NativeSettlementReport, NativeSettlementReportExport, NativeSettlementPdfRequest, NativeSettlementPayoutListRequest, NativeSettlementPayoutListResponse, NativeReserveListResponse, NativeReserveOverviewRequest, NativeReserveOverview, SettlementCurrentParams, SettlementCurrentResponse, ProviderPayoutsRequest, ProviderPayoutsResponse, VaultOutageGroupSwitchOffPreviewRequest, VaultOutageGroupSwitchOffPreviewResponse, VaultOutageGroupSwitchOffRequest, VaultOutageGroupActionResponse, VaultOutageGroupActionsListResponse, VaultOutageGroupCheckRecoveryResponse, VaultOutageGroupRestoreRequest, VaultOutageGroupRestoreResponse, MerchantRisk, RiskTuningTarget, RiskTuningResponse, RiskTuningUpdateRequest, RiskAdjustments, RiskTuningPreviewResponse } from '../../types.cjs';
2
- import { fZ as RefundVolumeQuery, f_ as RefundVolumeResponse, hg as UpdateRefundVolumeRequest, fo as PlatformFeeReturnQuery, fq as PlatformFeeReturnResponse, hf as UpdatePlatformFeeReturnRequest, fn as PlatformFeeReturnListResponse, gD as SharedRoleListResponse, gC as SharedRoleDetailResponse, bH as CreateSharedRoleRequest, gB as SharedRoleChange, gG as SharedRolePreviewResponse, hh as UpdateSharedRoleRequest, gz as SharedRoleApplied, g4 as RetireSharedRolePreviewRequest, g5 as RetireSharedRolePreviewResponse, g6 as RetireSharedRoleRequest, bC as ConsolidationCandidatesResponse, bz as ConsolidateRolesRequest, bA as ConsolidateRolesResponse, o as AdminCustomerListParams, q as AdminCustomerListResponse, n as AdminCustomerDetail, Z as AdminTransactionListParams, _ as AdminTransactionListResponse, w as AdminPersonListParams, x as AdminPersonListResponse, f9 as PersonFlagList, f8 as PersonFlagCreate, fh as PersonFlagView, fg as PersonFlagUpdate, f5 as PersonBlockState, f1 as PersonBlockCreate, f7 as PersonBlockView, f2 as PersonBlockEscalate, f6 as PersonBlockUpdate, ay as BlockedPersonListParams, ax as BlockedPersonList, da as FlaggedPersonListParams, d9 as FlaggedPersonList, ff as PersonFlagStatusList, d7 as FlaggedElsewhereList, fa as PersonFlagMatchSettings, fc as PersonFlagMatchUpdate, W as AdminTransactionExportParams, X as AdminTransactionExportRecord, Y as AdminTransactionLineExportRecord, V as AdminTransactionDetail, br as ConnectionCheckUsageParams, bs as ConnectionCheckUsageResponse, bn as ConnectionCheckPaymentsParams, bo as ConnectionCheckPaymentsResponse, a1 as AdminUnresolvedRefundListParams, a2 as AdminUnresolvedRefundListResponse, E as AdminPreventionConnectionListRequest, D as AdminPreventionConnectionList, B as AdminPreventionCaseListRequest, J as AdminPreventionRefundRuleListRequest, I as AdminPreventionRefundRuleList, K as AdminPreventionRefundRuleStop, G as AdminPreventionRefundActionListRequest, z as AdminPreventionCaseFilters, fT as PreventionSummary, L as AdminPreventionTrendParams, fV as PreventionTrend, F as AdminPreventionMerchantListParams, fI as PreventionMerchantList, aC as BuyerEvidenceDeadlineChange, aB as BuyerEvidenceAssign, b as AdminAnalyticsRequest, fi as PlatformAnalyticsResponse, eY as OverviewStatsResponse, eZ as PaymentAnalyticsRequest, e_ as PaymentAnalyticsResponse, bX as DeviceIntelligenceUsageParams, bY as DeviceIntelligenceUsageResponse, bU as DeviceIntelligencePaymentsParams, bV as DeviceIntelligencePaymentsResponse, aE as BuyerRiskAccuracyQuery, aG as BuyerRiskAccuracyReport, aD as BuyerRiskAccuracyPaymentsRequest, s as AdminLedgerAnalyticsRequest, t as AdminLedgerAnalyticsResponse, v as AdminOrphanedBillingProfilesResponse, m as AdminCreateUserForMerchantRequest, a9 as AdminUserResponse, a5 as AdminUpdateUserRequest, a6 as AdminUserDetailResponse, gW as StaffMerchantAccessResponse, gX as StaffMerchantAccessUpdateRequest, gZ as StaffRoleSupportAccessList, g_ as StaffRoleSupportAccessUpdateRequest, gY as StaffRoleSupportAccess, e as AdminAttemptProcessorCost, M as AdminProcessorCostEventsParams, bJ as CreateVatRateRequest, hi as UpdateVatRateRequest, hk as VatRateDeleteResponse, gR as ShopTermConsentReleaseRequest, ac as AdminVaultStateResponse, c as AdminAttachVaultRequest, d as AdminAttachVaultResponse, aN as CardFundingBackfillRequest, aO as CardFundingBackfillResponse, gk as RiskModelResponse, gj as RiskModelPatch, gm as RiskModelUpdateOptions, ga as RiskBackfillRequest, g9 as RiskBackfillPreview, gb as RiskBackfillResponse, gd as RiskBackfillStatus, eF as MerchantRiskStageResponse, dN as MerchantRiskActionConfirmRequest, dS as MerchantRiskActionResponse, dO as MerchantRiskActionDismissRequest, ee as MerchantRiskExemptionCreateRequest, ef as MerchantRiskExemptionResponse, eg as MerchantRiskExemptionRevokeRequest, dQ as MerchantRiskActionLiftRequest, et as MerchantRiskPaymentsStopRequest, e0 as MerchantRiskBlockedAttemptListParams, d$ as MerchantRiskBlockedAttemptList, dM as MerchantRiskActionCatalogEntry, ex as MerchantRiskPolicyPreviewRequest, ey as MerchantRiskPolicyPreviewResponse } from '../../types-B3aryu0m.cjs';
2
+ import { gj as RefundVolumeQuery, gk as RefundVolumeResponse, hC as UpdateRefundVolumeRequest, fy as PlatformFeeReturnQuery, fA as PlatformFeeReturnResponse, hB as UpdatePlatformFeeReturnRequest, fx as PlatformFeeReturnListResponse, gZ as SharedRoleListResponse, gY as SharedRoleDetailResponse, bH as CreateSharedRoleRequest, gX as SharedRoleChange, h0 as SharedRolePreviewResponse, hD as UpdateSharedRoleRequest, gV as SharedRoleApplied, gq as RetireSharedRolePreviewRequest, gr as RetireSharedRolePreviewResponse, gs as RetireSharedRoleRequest, bC as ConsolidationCandidatesResponse, bz as ConsolidateRolesRequest, bA as ConsolidateRolesResponse, o as AdminCustomerListParams, q as AdminCustomerListResponse, n as AdminCustomerDetail, Z as AdminTransactionListParams, _ as AdminTransactionListResponse, w as AdminPersonListParams, x as AdminPersonListResponse, fj as PersonFlagList, fi as PersonFlagCreate, fr as PersonFlagView, fq as PersonFlagUpdate, ff as PersonBlockState, fb as PersonBlockCreate, fh as PersonBlockView, fc as PersonBlockEscalate, fg as PersonBlockUpdate, ay as BlockedPersonListParams, ax as BlockedPersonList, di as FlaggedPersonListParams, dh as FlaggedPersonList, fp as PersonFlagStatusList, df as FlaggedElsewhereList, fk as PersonFlagMatchSettings, fm as PersonFlagMatchUpdate, W as AdminTransactionExportParams, X as AdminTransactionExportRecord, Y as AdminTransactionLineExportRecord, V as AdminTransactionDetail, br as ConnectionCheckUsageParams, bs as ConnectionCheckUsageResponse, bn as ConnectionCheckPaymentsParams, bo as ConnectionCheckPaymentsResponse, a1 as AdminUnresolvedRefundListParams, a2 as AdminUnresolvedRefundListResponse, E as AdminPreventionConnectionListRequest, D as AdminPreventionConnectionList, B as AdminPreventionCaseListRequest, J as AdminPreventionRefundRuleListRequest, I as AdminPreventionRefundRuleList, K as AdminPreventionRefundRuleStop, G as AdminPreventionRefundActionListRequest, z as AdminPreventionCaseFilters, g1 as PreventionSummary, L as AdminPreventionTrendParams, g3 as PreventionTrend, F as AdminPreventionMerchantListParams, fS as PreventionMerchantList, aC as BuyerEvidenceDeadlineChange, aB as BuyerEvidenceAssign, b as AdminAnalyticsRequest, fs as PlatformAnalyticsResponse, f6 as OverviewStatsResponse, f7 as PaymentAnalyticsRequest, f8 as PaymentAnalyticsResponse, bX as DeviceIntelligenceUsageParams, bY as DeviceIntelligenceUsageResponse, bU as DeviceIntelligencePaymentsParams, bV as DeviceIntelligencePaymentsResponse, aE as BuyerRiskAccuracyQuery, aG as BuyerRiskAccuracyReport, aD as BuyerRiskAccuracyPaymentsRequest, s as AdminLedgerAnalyticsRequest, t as AdminLedgerAnalyticsResponse, v as AdminOrphanedBillingProfilesResponse, m as AdminCreateUserForMerchantRequest, a9 as AdminUserResponse, a5 as AdminUpdateUserRequest, a6 as AdminUserDetailResponse, hg as StaffMerchantAccessResponse, hh as StaffMerchantAccessUpdateRequest, hj as StaffRoleSupportAccessList, hk as StaffRoleSupportAccessUpdateRequest, hi as StaffRoleSupportAccess, e as AdminAttemptProcessorCost, M as AdminProcessorCostEventsParams, bJ as CreateVatRateRequest, hE as UpdateVatRateRequest, hG as VatRateDeleteResponse, hb as ShopTermConsentReleaseRequest, ac as AdminVaultStateResponse, c as AdminAttachVaultRequest, d as AdminAttachVaultResponse, aN as CardFundingBackfillRequest, aO as CardFundingBackfillResponse, gG as RiskModelResponse, gF as RiskModelPatch, gI as RiskModelUpdateOptions, gw as RiskBackfillRequest, gv as RiskBackfillPreview, gx as RiskBackfillResponse, gz as RiskBackfillStatus, eP as MerchantRiskStageResponse, dX as MerchantRiskActionConfirmRequest, e0 as MerchantRiskActionResponse, dY as MerchantRiskActionDismissRequest, eo as MerchantRiskExemptionCreateRequest, ep as MerchantRiskExemptionResponse, eq as MerchantRiskExemptionRevokeRequest, d_ as MerchantRiskActionLiftRequest, eD as MerchantRiskPaymentsStopRequest, ea as MerchantRiskBlockedAttemptListParams, e9 as MerchantRiskBlockedAttemptList, dW as MerchantRiskActionCatalogEntry, eH as MerchantRiskPolicyPreviewRequest, eI as MerchantRiskPolicyPreviewResponse } from '../../types-DgqmdNah.cjs';
3
3
  import { RequestFn, RequestExtras } from '../../core.cjs';
4
4
  import '../../currencies.cjs';
5
5
  import '../../eventStream.cjs';
@@ -1,5 +1,5 @@
1
1
  import { PersonListParams, PersonListResponse, PersonScopeParams, PersonResponse, RelatedPersonsResponse, PaymentPersonResponse, MerchantPersonFlagList, JsonExportOptions, ExportEnvelope, BinaryExportOptions, ExportOptions, CsvExportOptions, DynamicLineExportOptions, BuyerRiskEvaluationsResponse, ConnectionChecksResponse, PaymentProductLines, PaymentAttemptsListResponse, PaymentStatusHistoryResponse, PaymentLogsResponse, PaymentLogConnectorCallDetail, PaymentLogIncomingWebhookDetail, PaymentLogOutgoingWebhookDetail, InvoicePageQuery, InvoiceList, RefundListResponse, BuyerRefundRequestPageQuery, BuyerRefundRequestList, BuyerEvidenceQueueQuery, BuyerEvidenceQueue, PreventionCaseList, PreventionRefundRule, PreventionRefundActionList, PreventionCaseDetail, BuyerEvidenceReviewDetail, BuyerEvidenceInformationRequest, BuyerEvidenceReply, BuyerEvidenceReviewCreate, BuyerEvidenceNote, AnalyticsScopeRequest, AnalyticsScopeResponse, AdminAnalyticsExclusionsResponse, AdminAnalyticsExclusionRequest, AdminAnalyticsExclusionResponse, MerchantExclusionsForAdminResponse, AdminAnalyticsExclusionCopyRequest, AdminAnalyticsExclusionCopyResponse, AdminAnalyticsShopsRequest, AnalyticsShopsResponse, AdminAnalyticsConnectorsRequest, AnalyticsConnectorsResponse, IndustryAnalyticsRequest, IndustryAnalytics, ClientAnalyticsRequest, DevicesAnalyticsResponse, GeoAnalyticsResponse, GeoDrillRequest, DrillResponse, DeviceDrillRequest, ScopeDrillRequest, SubscriptionAnalyticsRequest, SubscriptionAnalyticsResponse, SubscriptionDrillRequest, MerchantAccountResponse, MerchantAccountUpdateRequest, LoginHistoryParams, LoginHistoryResponse, UserSessionListResponse, UserSessionRevokeResponse, AdminRevokeUserSessionsResponse, MemberMethodAccessResponse, UpdateMemberMethodAccessRequest, MemberPermissionOverridesResponse, UpdateMemberPermissionOverridesRequest, TokenResponse, ProfileResponse, SellToRestrictionsResponse, PaymentsDeleteResponse, PaymentIntegrationTestRequest, PaymentIntegrationTestResponse, PaymentClientContextListResponse, ProcessorCostEventsResponse, ProcessorCostScheduleResponse, CreateProcessorCostScheduleRequest, BulkCreateProcessorCostSchedulesRequest, UpdateProcessorCostScheduleRequest, ReplaceProcessorCostScheduleRequest, VatRateListParams, VatRateListResponse, VatRateResponse, ShopTermConsentResponse, ShopTermProposalListRequest, ShopTermProposalListResponse, ShopTermConsentEventListRequest, ShopTermConsentEventListResponse, SettlementAdvanceListRequest, SettlementAdvanceListResponse, SettlementPeriodListParams, SettlementPeriodListResponse, SettlementStatementListParams, SettlementStatementListResponse, FeeStatementDetail, StatementPdfParams, SettlementOverviewParams, SettlementOverviewResponse, NativeSettlementImportRequest, NativeSettlementImportDetail, NativeSettlementImportListParams, NativeSettlementImportList, NativeSettlementLateEntryCreateRequest, NativeSettlementLateEntry, NativeSettlementLateEntryListParams, NativeSettlementLateEntryList, NativeReportViewListRequest, NativeSettlementReportListResponse, NativeSettlementReport, NativeSettlementReportExport, NativeSettlementPdfRequest, NativeSettlementPayoutListRequest, NativeSettlementPayoutListResponse, NativeReserveListResponse, NativeReserveOverviewRequest, NativeReserveOverview, SettlementCurrentParams, SettlementCurrentResponse, ProviderPayoutsRequest, ProviderPayoutsResponse, VaultOutageGroupSwitchOffPreviewRequest, VaultOutageGroupSwitchOffPreviewResponse, VaultOutageGroupSwitchOffRequest, VaultOutageGroupActionResponse, VaultOutageGroupActionsListResponse, VaultOutageGroupCheckRecoveryResponse, VaultOutageGroupRestoreRequest, VaultOutageGroupRestoreResponse, MerchantRisk, RiskTuningTarget, RiskTuningResponse, RiskTuningUpdateRequest, RiskAdjustments, RiskTuningPreviewResponse } from '../../types.js';
2
- import { fZ as RefundVolumeQuery, f_ as RefundVolumeResponse, hg as UpdateRefundVolumeRequest, fo as PlatformFeeReturnQuery, fq as PlatformFeeReturnResponse, hf as UpdatePlatformFeeReturnRequest, fn as PlatformFeeReturnListResponse, gD as SharedRoleListResponse, gC as SharedRoleDetailResponse, bH as CreateSharedRoleRequest, gB as SharedRoleChange, gG as SharedRolePreviewResponse, hh as UpdateSharedRoleRequest, gz as SharedRoleApplied, g4 as RetireSharedRolePreviewRequest, g5 as RetireSharedRolePreviewResponse, g6 as RetireSharedRoleRequest, bC as ConsolidationCandidatesResponse, bz as ConsolidateRolesRequest, bA as ConsolidateRolesResponse, o as AdminCustomerListParams, q as AdminCustomerListResponse, n as AdminCustomerDetail, Z as AdminTransactionListParams, _ as AdminTransactionListResponse, w as AdminPersonListParams, x as AdminPersonListResponse, f9 as PersonFlagList, f8 as PersonFlagCreate, fh as PersonFlagView, fg as PersonFlagUpdate, f5 as PersonBlockState, f1 as PersonBlockCreate, f7 as PersonBlockView, f2 as PersonBlockEscalate, f6 as PersonBlockUpdate, ay as BlockedPersonListParams, ax as BlockedPersonList, da as FlaggedPersonListParams, d9 as FlaggedPersonList, ff as PersonFlagStatusList, d7 as FlaggedElsewhereList, fa as PersonFlagMatchSettings, fc as PersonFlagMatchUpdate, W as AdminTransactionExportParams, X as AdminTransactionExportRecord, Y as AdminTransactionLineExportRecord, V as AdminTransactionDetail, br as ConnectionCheckUsageParams, bs as ConnectionCheckUsageResponse, bn as ConnectionCheckPaymentsParams, bo as ConnectionCheckPaymentsResponse, a1 as AdminUnresolvedRefundListParams, a2 as AdminUnresolvedRefundListResponse, E as AdminPreventionConnectionListRequest, D as AdminPreventionConnectionList, B as AdminPreventionCaseListRequest, J as AdminPreventionRefundRuleListRequest, I as AdminPreventionRefundRuleList, K as AdminPreventionRefundRuleStop, G as AdminPreventionRefundActionListRequest, z as AdminPreventionCaseFilters, fT as PreventionSummary, L as AdminPreventionTrendParams, fV as PreventionTrend, F as AdminPreventionMerchantListParams, fI as PreventionMerchantList, aC as BuyerEvidenceDeadlineChange, aB as BuyerEvidenceAssign, b as AdminAnalyticsRequest, fi as PlatformAnalyticsResponse, eY as OverviewStatsResponse, eZ as PaymentAnalyticsRequest, e_ as PaymentAnalyticsResponse, bX as DeviceIntelligenceUsageParams, bY as DeviceIntelligenceUsageResponse, bU as DeviceIntelligencePaymentsParams, bV as DeviceIntelligencePaymentsResponse, aE as BuyerRiskAccuracyQuery, aG as BuyerRiskAccuracyReport, aD as BuyerRiskAccuracyPaymentsRequest, s as AdminLedgerAnalyticsRequest, t as AdminLedgerAnalyticsResponse, v as AdminOrphanedBillingProfilesResponse, m as AdminCreateUserForMerchantRequest, a9 as AdminUserResponse, a5 as AdminUpdateUserRequest, a6 as AdminUserDetailResponse, gW as StaffMerchantAccessResponse, gX as StaffMerchantAccessUpdateRequest, gZ as StaffRoleSupportAccessList, g_ as StaffRoleSupportAccessUpdateRequest, gY as StaffRoleSupportAccess, e as AdminAttemptProcessorCost, M as AdminProcessorCostEventsParams, bJ as CreateVatRateRequest, hi as UpdateVatRateRequest, hk as VatRateDeleteResponse, gR as ShopTermConsentReleaseRequest, ac as AdminVaultStateResponse, c as AdminAttachVaultRequest, d as AdminAttachVaultResponse, aN as CardFundingBackfillRequest, aO as CardFundingBackfillResponse, gk as RiskModelResponse, gj as RiskModelPatch, gm as RiskModelUpdateOptions, ga as RiskBackfillRequest, g9 as RiskBackfillPreview, gb as RiskBackfillResponse, gd as RiskBackfillStatus, eF as MerchantRiskStageResponse, dN as MerchantRiskActionConfirmRequest, dS as MerchantRiskActionResponse, dO as MerchantRiskActionDismissRequest, ee as MerchantRiskExemptionCreateRequest, ef as MerchantRiskExemptionResponse, eg as MerchantRiskExemptionRevokeRequest, dQ as MerchantRiskActionLiftRequest, et as MerchantRiskPaymentsStopRequest, e0 as MerchantRiskBlockedAttemptListParams, d$ as MerchantRiskBlockedAttemptList, dM as MerchantRiskActionCatalogEntry, ex as MerchantRiskPolicyPreviewRequest, ey as MerchantRiskPolicyPreviewResponse } from '../../types-oEDLbeac.js';
2
+ import { gj as RefundVolumeQuery, gk as RefundVolumeResponse, hC as UpdateRefundVolumeRequest, fy as PlatformFeeReturnQuery, fA as PlatformFeeReturnResponse, hB as UpdatePlatformFeeReturnRequest, fx as PlatformFeeReturnListResponse, gZ as SharedRoleListResponse, gY as SharedRoleDetailResponse, bH as CreateSharedRoleRequest, gX as SharedRoleChange, h0 as SharedRolePreviewResponse, hD as UpdateSharedRoleRequest, gV as SharedRoleApplied, gq as RetireSharedRolePreviewRequest, gr as RetireSharedRolePreviewResponse, gs as RetireSharedRoleRequest, bC as ConsolidationCandidatesResponse, bz as ConsolidateRolesRequest, bA as ConsolidateRolesResponse, o as AdminCustomerListParams, q as AdminCustomerListResponse, n as AdminCustomerDetail, Z as AdminTransactionListParams, _ as AdminTransactionListResponse, w as AdminPersonListParams, x as AdminPersonListResponse, fj as PersonFlagList, fi as PersonFlagCreate, fr as PersonFlagView, fq as PersonFlagUpdate, ff as PersonBlockState, fb as PersonBlockCreate, fh as PersonBlockView, fc as PersonBlockEscalate, fg as PersonBlockUpdate, ay as BlockedPersonListParams, ax as BlockedPersonList, di as FlaggedPersonListParams, dh as FlaggedPersonList, fp as PersonFlagStatusList, df as FlaggedElsewhereList, fk as PersonFlagMatchSettings, fm as PersonFlagMatchUpdate, W as AdminTransactionExportParams, X as AdminTransactionExportRecord, Y as AdminTransactionLineExportRecord, V as AdminTransactionDetail, br as ConnectionCheckUsageParams, bs as ConnectionCheckUsageResponse, bn as ConnectionCheckPaymentsParams, bo as ConnectionCheckPaymentsResponse, a1 as AdminUnresolvedRefundListParams, a2 as AdminUnresolvedRefundListResponse, E as AdminPreventionConnectionListRequest, D as AdminPreventionConnectionList, B as AdminPreventionCaseListRequest, J as AdminPreventionRefundRuleListRequest, I as AdminPreventionRefundRuleList, K as AdminPreventionRefundRuleStop, G as AdminPreventionRefundActionListRequest, z as AdminPreventionCaseFilters, g1 as PreventionSummary, L as AdminPreventionTrendParams, g3 as PreventionTrend, F as AdminPreventionMerchantListParams, fS as PreventionMerchantList, aC as BuyerEvidenceDeadlineChange, aB as BuyerEvidenceAssign, b as AdminAnalyticsRequest, fs as PlatformAnalyticsResponse, f6 as OverviewStatsResponse, f7 as PaymentAnalyticsRequest, f8 as PaymentAnalyticsResponse, bX as DeviceIntelligenceUsageParams, bY as DeviceIntelligenceUsageResponse, bU as DeviceIntelligencePaymentsParams, bV as DeviceIntelligencePaymentsResponse, aE as BuyerRiskAccuracyQuery, aG as BuyerRiskAccuracyReport, aD as BuyerRiskAccuracyPaymentsRequest, s as AdminLedgerAnalyticsRequest, t as AdminLedgerAnalyticsResponse, v as AdminOrphanedBillingProfilesResponse, m as AdminCreateUserForMerchantRequest, a9 as AdminUserResponse, a5 as AdminUpdateUserRequest, a6 as AdminUserDetailResponse, hg as StaffMerchantAccessResponse, hh as StaffMerchantAccessUpdateRequest, hj as StaffRoleSupportAccessList, hk as StaffRoleSupportAccessUpdateRequest, hi as StaffRoleSupportAccess, e as AdminAttemptProcessorCost, M as AdminProcessorCostEventsParams, bJ as CreateVatRateRequest, hE as UpdateVatRateRequest, hG as VatRateDeleteResponse, hb as ShopTermConsentReleaseRequest, ac as AdminVaultStateResponse, c as AdminAttachVaultRequest, d as AdminAttachVaultResponse, aN as CardFundingBackfillRequest, aO as CardFundingBackfillResponse, gG as RiskModelResponse, gF as RiskModelPatch, gI as RiskModelUpdateOptions, gw as RiskBackfillRequest, gv as RiskBackfillPreview, gx as RiskBackfillResponse, gz as RiskBackfillStatus, eP as MerchantRiskStageResponse, dX as MerchantRiskActionConfirmRequest, e0 as MerchantRiskActionResponse, dY as MerchantRiskActionDismissRequest, eo as MerchantRiskExemptionCreateRequest, ep as MerchantRiskExemptionResponse, eq as MerchantRiskExemptionRevokeRequest, d_ as MerchantRiskActionLiftRequest, eD as MerchantRiskPaymentsStopRequest, ea as MerchantRiskBlockedAttemptListParams, e9 as MerchantRiskBlockedAttemptList, dW as MerchantRiskActionCatalogEntry, eH as MerchantRiskPolicyPreviewRequest, eI as MerchantRiskPolicyPreviewResponse } from '../../types-B3FAxTbG.js';
3
3
  import { RequestFn, RequestExtras } from '../../core.js';
4
4
  import '../../currencies.js';
5
5
  import '../../eventStream.js';
@@ -0,0 +1,7 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkCYH4HZ4Ycjs = require('../../chunk-CYH4HZ4Y.cjs');
4
+
5
+
6
+ exports.AdminPricing = _chunkCYH4HZ4Ycjs.AdminPricing;
7
+ //# sourceMappingURL=adminPricing.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/home/anes/delo-payment/delopay-typescript-sdk/dist/internal/resources/adminPricing.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,4DAAiC;AACjC;AACE;AACF,sDAAC","file":"/home/anes/delo-payment/delopay-typescript-sdk/dist/internal/resources/adminPricing.cjs"}