@wix/auto_sdk_ecom_checkout-templates 1.0.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 (111) hide show
  1. package/build/cjs/index.d.ts +1 -0
  2. package/build/cjs/index.js +18 -0
  3. package/build/cjs/index.js.map +1 -0
  4. package/build/cjs/index.typings.d.ts +1 -0
  5. package/build/cjs/index.typings.js +18 -0
  6. package/build/cjs/index.typings.js.map +1 -0
  7. package/build/cjs/meta.d.ts +1 -0
  8. package/build/cjs/meta.js +18 -0
  9. package/build/cjs/meta.js.map +1 -0
  10. package/build/cjs/src/ecom-v1-checkout-template-checkout-templates.context.d.ts +32 -0
  11. package/build/cjs/src/ecom-v1-checkout-template-checkout-templates.context.js +61 -0
  12. package/build/cjs/src/ecom-v1-checkout-template-checkout-templates.context.js.map +1 -0
  13. package/build/cjs/src/ecom-v1-checkout-template-checkout-templates.http.d.ts +67 -0
  14. package/build/cjs/src/ecom-v1-checkout-template-checkout-templates.http.js +377 -0
  15. package/build/cjs/src/ecom-v1-checkout-template-checkout-templates.http.js.map +1 -0
  16. package/build/cjs/src/ecom-v1-checkout-template-checkout-templates.meta.d.ts +29 -0
  17. package/build/cjs/src/ecom-v1-checkout-template-checkout-templates.meta.js +161 -0
  18. package/build/cjs/src/ecom-v1-checkout-template-checkout-templates.meta.js.map +1 -0
  19. package/build/cjs/src/ecom-v1-checkout-template-checkout-templates.public.d.ts +111 -0
  20. package/build/cjs/src/ecom-v1-checkout-template-checkout-templates.public.js +268 -0
  21. package/build/cjs/src/ecom-v1-checkout-template-checkout-templates.public.js.map +1 -0
  22. package/build/cjs/src/ecom-v1-checkout-template-checkout-templates.types.d.ts +2224 -0
  23. package/build/cjs/src/ecom-v1-checkout-template-checkout-templates.types.js +259 -0
  24. package/build/cjs/src/ecom-v1-checkout-template-checkout-templates.types.js.map +1 -0
  25. package/build/cjs/src/ecom-v1-checkout-template-checkout-templates.universal.d.ts +2538 -0
  26. package/build/cjs/src/ecom-v1-checkout-template-checkout-templates.universal.js +710 -0
  27. package/build/cjs/src/ecom-v1-checkout-template-checkout-templates.universal.js.map +1 -0
  28. package/build/es/index.d.ts +1 -0
  29. package/build/es/index.js +2 -0
  30. package/build/es/index.js.map +1 -0
  31. package/build/es/index.typings.d.ts +1 -0
  32. package/build/es/index.typings.js +2 -0
  33. package/build/es/index.typings.js.map +1 -0
  34. package/build/es/meta.d.ts +1 -0
  35. package/build/es/meta.js +2 -0
  36. package/build/es/meta.js.map +1 -0
  37. package/build/es/package.json +3 -0
  38. package/build/es/src/ecom-v1-checkout-template-checkout-templates.context.d.ts +32 -0
  39. package/build/es/src/ecom-v1-checkout-template-checkout-templates.context.js +32 -0
  40. package/build/es/src/ecom-v1-checkout-template-checkout-templates.context.js.map +1 -0
  41. package/build/es/src/ecom-v1-checkout-template-checkout-templates.http.d.ts +67 -0
  42. package/build/es/src/ecom-v1-checkout-template-checkout-templates.http.js +367 -0
  43. package/build/es/src/ecom-v1-checkout-template-checkout-templates.http.js.map +1 -0
  44. package/build/es/src/ecom-v1-checkout-template-checkout-templates.meta.d.ts +29 -0
  45. package/build/es/src/ecom-v1-checkout-template-checkout-templates.meta.js +128 -0
  46. package/build/es/src/ecom-v1-checkout-template-checkout-templates.meta.js.map +1 -0
  47. package/build/es/src/ecom-v1-checkout-template-checkout-templates.public.d.ts +111 -0
  48. package/build/es/src/ecom-v1-checkout-template-checkout-templates.public.js +232 -0
  49. package/build/es/src/ecom-v1-checkout-template-checkout-templates.public.js.map +1 -0
  50. package/build/es/src/ecom-v1-checkout-template-checkout-templates.types.d.ts +2224 -0
  51. package/build/es/src/ecom-v1-checkout-template-checkout-templates.types.js +256 -0
  52. package/build/es/src/ecom-v1-checkout-template-checkout-templates.types.js.map +1 -0
  53. package/build/es/src/ecom-v1-checkout-template-checkout-templates.universal.d.ts +2538 -0
  54. package/build/es/src/ecom-v1-checkout-template-checkout-templates.universal.js +677 -0
  55. package/build/es/src/ecom-v1-checkout-template-checkout-templates.universal.js.map +1 -0
  56. package/build/internal/cjs/index.d.ts +1 -0
  57. package/build/internal/cjs/index.js +18 -0
  58. package/build/internal/cjs/index.js.map +1 -0
  59. package/build/internal/cjs/index.typings.d.ts +1 -0
  60. package/build/internal/cjs/index.typings.js +18 -0
  61. package/build/internal/cjs/index.typings.js.map +1 -0
  62. package/build/internal/cjs/meta.d.ts +1 -0
  63. package/build/internal/cjs/meta.js +18 -0
  64. package/build/internal/cjs/meta.js.map +1 -0
  65. package/build/internal/cjs/src/ecom-v1-checkout-template-checkout-templates.context.d.ts +32 -0
  66. package/build/internal/cjs/src/ecom-v1-checkout-template-checkout-templates.context.js +61 -0
  67. package/build/internal/cjs/src/ecom-v1-checkout-template-checkout-templates.context.js.map +1 -0
  68. package/build/internal/cjs/src/ecom-v1-checkout-template-checkout-templates.http.d.ts +67 -0
  69. package/build/internal/cjs/src/ecom-v1-checkout-template-checkout-templates.http.js +377 -0
  70. package/build/internal/cjs/src/ecom-v1-checkout-template-checkout-templates.http.js.map +1 -0
  71. package/build/internal/cjs/src/ecom-v1-checkout-template-checkout-templates.meta.d.ts +29 -0
  72. package/build/internal/cjs/src/ecom-v1-checkout-template-checkout-templates.meta.js +161 -0
  73. package/build/internal/cjs/src/ecom-v1-checkout-template-checkout-templates.meta.js.map +1 -0
  74. package/build/internal/cjs/src/ecom-v1-checkout-template-checkout-templates.public.d.ts +111 -0
  75. package/build/internal/cjs/src/ecom-v1-checkout-template-checkout-templates.public.js +268 -0
  76. package/build/internal/cjs/src/ecom-v1-checkout-template-checkout-templates.public.js.map +1 -0
  77. package/build/internal/cjs/src/ecom-v1-checkout-template-checkout-templates.types.d.ts +2243 -0
  78. package/build/internal/cjs/src/ecom-v1-checkout-template-checkout-templates.types.js +259 -0
  79. package/build/internal/cjs/src/ecom-v1-checkout-template-checkout-templates.types.js.map +1 -0
  80. package/build/internal/cjs/src/ecom-v1-checkout-template-checkout-templates.universal.d.ts +2694 -0
  81. package/build/internal/cjs/src/ecom-v1-checkout-template-checkout-templates.universal.js +710 -0
  82. package/build/internal/cjs/src/ecom-v1-checkout-template-checkout-templates.universal.js.map +1 -0
  83. package/build/internal/es/index.d.ts +1 -0
  84. package/build/internal/es/index.js +2 -0
  85. package/build/internal/es/index.js.map +1 -0
  86. package/build/internal/es/index.typings.d.ts +1 -0
  87. package/build/internal/es/index.typings.js +2 -0
  88. package/build/internal/es/index.typings.js.map +1 -0
  89. package/build/internal/es/meta.d.ts +1 -0
  90. package/build/internal/es/meta.js +2 -0
  91. package/build/internal/es/meta.js.map +1 -0
  92. package/build/internal/es/src/ecom-v1-checkout-template-checkout-templates.context.d.ts +32 -0
  93. package/build/internal/es/src/ecom-v1-checkout-template-checkout-templates.context.js +32 -0
  94. package/build/internal/es/src/ecom-v1-checkout-template-checkout-templates.context.js.map +1 -0
  95. package/build/internal/es/src/ecom-v1-checkout-template-checkout-templates.http.d.ts +67 -0
  96. package/build/internal/es/src/ecom-v1-checkout-template-checkout-templates.http.js +367 -0
  97. package/build/internal/es/src/ecom-v1-checkout-template-checkout-templates.http.js.map +1 -0
  98. package/build/internal/es/src/ecom-v1-checkout-template-checkout-templates.meta.d.ts +29 -0
  99. package/build/internal/es/src/ecom-v1-checkout-template-checkout-templates.meta.js +128 -0
  100. package/build/internal/es/src/ecom-v1-checkout-template-checkout-templates.meta.js.map +1 -0
  101. package/build/internal/es/src/ecom-v1-checkout-template-checkout-templates.public.d.ts +111 -0
  102. package/build/internal/es/src/ecom-v1-checkout-template-checkout-templates.public.js +232 -0
  103. package/build/internal/es/src/ecom-v1-checkout-template-checkout-templates.public.js.map +1 -0
  104. package/build/internal/es/src/ecom-v1-checkout-template-checkout-templates.types.d.ts +2243 -0
  105. package/build/internal/es/src/ecom-v1-checkout-template-checkout-templates.types.js +256 -0
  106. package/build/internal/es/src/ecom-v1-checkout-template-checkout-templates.types.js.map +1 -0
  107. package/build/internal/es/src/ecom-v1-checkout-template-checkout-templates.universal.d.ts +2694 -0
  108. package/build/internal/es/src/ecom-v1-checkout-template-checkout-templates.universal.js +677 -0
  109. package/build/internal/es/src/ecom-v1-checkout-template-checkout-templates.universal.js.map +1 -0
  110. package/meta/package.json +3 -0
  111. package/package.json +52 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ecom-v1-checkout-template-checkout-templates.http.js","sourceRoot":"","sources":["../../../src/ecom-v1-checkout-template-checkout-templates.http.ts"],"names":[],"mappings":";;;AAAA,gEAAkE;AAClE,kEAAsF;AACtF,kEAAsF;AACtF,kEAAsF;AACtF,0EAAkG;AAClG,0EAAkG;AAClG,4EAAmG;AACnG,sFAAkF;AAClF,gEAA2D;AAI3D,SAAS,6DAA6D,CACpE,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,mBAAmB,EAAE;YACnB;gBACE,OAAO,EAAE,6BAA6B;gBACtC,QAAQ,EAAE,wBAAwB;aACnC;SACF;QACD,iBAAiB,EAAE;YACjB;gBACE,OAAO,EAAE,6BAA6B;gBACtC,QAAQ,EAAE,wBAAwB;aACnC;SACF;KACF,CAAC;IAEF,OAAO,IAAA,yBAAU,EAAC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,gBAAgB,EAAE,CAAC,CAAC,CAAC;AAC/D,CAAC;AAED,MAAM,YAAY,GAAG,uCAAuC,CAAC;AAE7D;;;;;;;;;;;;GAYG;AACH,SAAgB,sBAAsB,CACpC,OAAe;IAEf,SAAS,wBAAwB,CAAC,EAAE,IAAI,EAAO;QAC7C,MAAM,cAAc,GAAG,IAAA,gCAAc,EAAC,OAAO,EAAE;YAC7C;gBACE,WAAW,EAAE,oCAA4B;gBACzC,KAAK,EAAE;oBACL;wBACE,IAAI,EAAE,4EAA4E;qBACnF;oBACD;wBACE,IAAI,EAAE,4DAA4D;qBACnE;iBACF;aACF;YACD;gBACE,WAAW,EAAE,gDAAoC;gBACjD,KAAK,EAAE;oBACL;wBACE,IAAI,EAAE,wFAAwF;qBAC/F;oBACD;wBACE,IAAI,E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;YACzB,GAAG,EAAE,6DAA6D,CAAC;gBACjE,SAAS,EACP,6EAA6E;gBAC/E,IAAI,EAAE,OAAO;gBACb,IAAI;aACL,CAAC;YACF,MAAM,EAAE,IAAA,gCAAiB,EAAC,OAAO,CAAC;YAClC,iBAAiB,EAAE,CAAC,OAAY,EAAE,EAAE,CAClC,IAAA,gCAAc,EAAC,OAAO,EAAE;gBACtB;oBACE,WAAW,EAAE,oCAA4B;oBACzC,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;iBAC1B;aACF,CAAC;SACL,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,6BAA6B,CAAC;AACvC,CAAC;AA9BD,kEA8BC"}
@@ -0,0 +1,29 @@
1
+ import * as ambassadorWixEcomV1CheckoutTemplateTypes from './ecom-v1-checkout-template-checkout-templates.types.js';
2
+ import * as ambassadorWixEcomV1CheckoutTemplateUniversalTypes from './ecom-v1-checkout-template-checkout-templates.universal.js';
3
+ export type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
4
+ getUrl: (context: any) => string;
5
+ httpMethod: K;
6
+ path: string;
7
+ pathParams: M;
8
+ __requestType: T;
9
+ __originalRequestType: S;
10
+ __responseType: Q;
11
+ __originalResponseType: R;
12
+ };
13
+ export declare function createCheckoutTemplate(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixEcomV1CheckoutTemplateUniversalTypes.CreateCheckoutTemplateRequest, ambassadorWixEcomV1CheckoutTemplateTypes.CreateCheckoutTemplateRequest, ambassadorWixEcomV1CheckoutTemplateUniversalTypes.CreateCheckoutTemplateResponse & ambassadorWixEcomV1CheckoutTemplateUniversalTypes.CreateCheckoutTemplateResponseNonNullableFields, ambassadorWixEcomV1CheckoutTemplateTypes.CreateCheckoutTemplateResponse & ambassadorWixEcomV1CheckoutTemplateTypes.CreateCheckoutTemplateResponseNonNullableFields>;
14
+ export declare function getCheckoutTemplate(): __PublicMethodMetaInfo<'GET', {
15
+ checkoutTemplateId: string;
16
+ }, ambassadorWixEcomV1CheckoutTemplateUniversalTypes.GetCheckoutTemplateRequest, ambassadorWixEcomV1CheckoutTemplateTypes.GetCheckoutTemplateRequest, ambassadorWixEcomV1CheckoutTemplateUniversalTypes.GetCheckoutTemplateResponse & ambassadorWixEcomV1CheckoutTemplateUniversalTypes.GetCheckoutTemplateResponseNonNullableFields, ambassadorWixEcomV1CheckoutTemplateTypes.GetCheckoutTemplateResponse & ambassadorWixEcomV1CheckoutTemplateTypes.GetCheckoutTemplateResponseNonNullableFields>;
17
+ export declare function updateCheckoutTemplate(): __PublicMethodMetaInfo<'PATCH', {
18
+ checkoutTemplateId: string;
19
+ }, ambassadorWixEcomV1CheckoutTemplateUniversalTypes.UpdateCheckoutTemplateRequest, ambassadorWixEcomV1CheckoutTemplateTypes.UpdateCheckoutTemplateRequest, ambassadorWixEcomV1CheckoutTemplateUniversalTypes.UpdateCheckoutTemplateResponse & ambassadorWixEcomV1CheckoutTemplateUniversalTypes.UpdateCheckoutTemplateResponseNonNullableFields, ambassadorWixEcomV1CheckoutTemplateTypes.UpdateCheckoutTemplateResponse & ambassadorWixEcomV1CheckoutTemplateTypes.UpdateCheckoutTemplateResponseNonNullableFields>;
20
+ export declare function deleteCheckoutTemplate(): __PublicMethodMetaInfo<'DELETE', {
21
+ checkoutTemplateId: string;
22
+ }, ambassadorWixEcomV1CheckoutTemplateUniversalTypes.DeleteCheckoutTemplateRequest, ambassadorWixEcomV1CheckoutTemplateTypes.DeleteCheckoutTemplateRequest, ambassadorWixEcomV1CheckoutTemplateUniversalTypes.DeleteCheckoutTemplateResponse, ambassadorWixEcomV1CheckoutTemplateTypes.DeleteCheckoutTemplateResponse>;
23
+ export declare function queryCheckoutTemplates(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixEcomV1CheckoutTemplateUniversalTypes.QueryCheckoutTemplatesRequest, ambassadorWixEcomV1CheckoutTemplateTypes.QueryCheckoutTemplatesRequest, ambassadorWixEcomV1CheckoutTemplateUniversalTypes.QueryCheckoutTemplatesResponse & ambassadorWixEcomV1CheckoutTemplateUniversalTypes.QueryCheckoutTemplatesResponseNonNullableFields, ambassadorWixEcomV1CheckoutTemplateTypes.QueryCheckoutTemplatesResponse & ambassadorWixEcomV1CheckoutTemplateTypes.QueryCheckoutTemplatesResponseNonNullableFields>;
24
+ export declare function createCheckoutFromTemplate(): __PublicMethodMetaInfo<'POST', {
25
+ checkoutTemplateId: string;
26
+ }, ambassadorWixEcomV1CheckoutTemplateUniversalTypes.CreateCheckoutFromTemplateRequest, ambassadorWixEcomV1CheckoutTemplateTypes.CreateCheckoutFromTemplateRequest, ambassadorWixEcomV1CheckoutTemplateUniversalTypes.CreateCheckoutFromTemplateResponse & ambassadorWixEcomV1CheckoutTemplateUniversalTypes.CreateCheckoutFromTemplateResponseNonNullableFields, ambassadorWixEcomV1CheckoutTemplateTypes.CreateCheckoutFromTemplateResponse & ambassadorWixEcomV1CheckoutTemplateTypes.CreateCheckoutFromTemplateResponseNonNullableFields>;
27
+ export declare function createAndRedirectToCheckout(): __PublicMethodMetaInfo<'GET', {
28
+ checkoutTemplateId: string;
29
+ }, ambassadorWixEcomV1CheckoutTemplateUniversalTypes.CreateAndRedirectToCheckoutRequest, ambassadorWixEcomV1CheckoutTemplateTypes.CreateAndRedirectToCheckoutRequest, ambassadorWixEcomV1CheckoutTemplateUniversalTypes.RawHttpResponse & ambassadorWixEcomV1CheckoutTemplateUniversalTypes.RawHttpResponseNonNullableFields, ambassadorWixEcomV1CheckoutTemplateTypes.RawHttpResponse & ambassadorWixEcomV1CheckoutTemplateTypes.RawHttpResponseNonNullableFields>;
@@ -0,0 +1,161 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.createAndRedirectToCheckout = exports.createCheckoutFromTemplate = exports.queryCheckoutTemplates = exports.deleteCheckoutTemplate = exports.updateCheckoutTemplate = exports.getCheckoutTemplate = exports.createCheckoutTemplate = void 0;
27
+ const ambassadorWixEcomV1CheckoutTemplate = __importStar(require("./ecom-v1-checkout-template-checkout-templates.http.js"));
28
+ function createCheckoutTemplate() {
29
+ const payload = {};
30
+ const getRequestOptions = ambassadorWixEcomV1CheckoutTemplate.createCheckoutTemplate(payload);
31
+ const getUrl = (context) => {
32
+ const { url } = getRequestOptions(context);
33
+ return url;
34
+ };
35
+ return {
36
+ getUrl,
37
+ httpMethod: 'POST',
38
+ path: '/v1/checkout-templates',
39
+ pathParams: {},
40
+ __requestType: null,
41
+ __originalRequestType: null,
42
+ __responseType: null,
43
+ __originalResponseType: null,
44
+ };
45
+ }
46
+ exports.createCheckoutTemplate = createCheckoutTemplate;
47
+ function getCheckoutTemplate() {
48
+ const payload = { checkoutTemplateId: ':checkoutTemplateId' };
49
+ const getRequestOptions = ambassadorWixEcomV1CheckoutTemplate.getCheckoutTemplate(payload);
50
+ const getUrl = (context) => {
51
+ const { url } = getRequestOptions(context);
52
+ return url;
53
+ };
54
+ return {
55
+ getUrl,
56
+ httpMethod: 'GET',
57
+ path: '/v1/checkout-templates/{checkoutTemplateId}',
58
+ pathParams: { checkoutTemplateId: 'checkoutTemplateId' },
59
+ __requestType: null,
60
+ __originalRequestType: null,
61
+ __responseType: null,
62
+ __originalResponseType: null,
63
+ };
64
+ }
65
+ exports.getCheckoutTemplate = getCheckoutTemplate;
66
+ function updateCheckoutTemplate() {
67
+ const payload = { checkoutTemplate: { id: ':checkoutTemplateId' } };
68
+ const getRequestOptions = ambassadorWixEcomV1CheckoutTemplate.updateCheckoutTemplate(payload);
69
+ const getUrl = (context) => {
70
+ const { url } = getRequestOptions(context);
71
+ return url;
72
+ };
73
+ return {
74
+ getUrl,
75
+ httpMethod: 'PATCH',
76
+ path: '/v1/checkout-templates/{checkoutTemplate.id}',
77
+ pathParams: { checkoutTemplateId: 'checkoutTemplateId' },
78
+ __requestType: null,
79
+ __originalRequestType: null,
80
+ __responseType: null,
81
+ __originalResponseType: null,
82
+ };
83
+ }
84
+ exports.updateCheckoutTemplate = updateCheckoutTemplate;
85
+ function deleteCheckoutTemplate() {
86
+ const payload = { checkoutTemplateId: ':checkoutTemplateId' };
87
+ const getRequestOptions = ambassadorWixEcomV1CheckoutTemplate.deleteCheckoutTemplate(payload);
88
+ const getUrl = (context) => {
89
+ const { url } = getRequestOptions(context);
90
+ return url;
91
+ };
92
+ return {
93
+ getUrl,
94
+ httpMethod: 'DELETE',
95
+ path: '/v1/checkout-templates/{checkoutTemplateId}',
96
+ pathParams: { checkoutTemplateId: 'checkoutTemplateId' },
97
+ __requestType: null,
98
+ __originalRequestType: null,
99
+ __responseType: null,
100
+ __originalResponseType: null,
101
+ };
102
+ }
103
+ exports.deleteCheckoutTemplate = deleteCheckoutTemplate;
104
+ function queryCheckoutTemplates() {
105
+ const payload = {};
106
+ const getRequestOptions = ambassadorWixEcomV1CheckoutTemplate.queryCheckoutTemplates(payload);
107
+ const getUrl = (context) => {
108
+ const { url } = getRequestOptions(context);
109
+ return url;
110
+ };
111
+ return {
112
+ getUrl,
113
+ httpMethod: 'POST',
114
+ path: '/v1/checkout-templates/query',
115
+ pathParams: {},
116
+ __requestType: null,
117
+ __originalRequestType: null,
118
+ __responseType: null,
119
+ __originalResponseType: null,
120
+ };
121
+ }
122
+ exports.queryCheckoutTemplates = queryCheckoutTemplates;
123
+ function createCheckoutFromTemplate() {
124
+ const payload = { checkoutTemplateId: ':checkoutTemplateId' };
125
+ const getRequestOptions = ambassadorWixEcomV1CheckoutTemplate.createCheckoutFromTemplate(payload);
126
+ const getUrl = (context) => {
127
+ const { url } = getRequestOptions(context);
128
+ return url;
129
+ };
130
+ return {
131
+ getUrl,
132
+ httpMethod: 'POST',
133
+ path: '/v1/checkout-templates/{checkoutTemplateId}/create-checkout-from-template',
134
+ pathParams: { checkoutTemplateId: 'checkoutTemplateId' },
135
+ __requestType: null,
136
+ __originalRequestType: null,
137
+ __responseType: null,
138
+ __originalResponseType: null,
139
+ };
140
+ }
141
+ exports.createCheckoutFromTemplate = createCheckoutFromTemplate;
142
+ function createAndRedirectToCheckout() {
143
+ const payload = { checkoutTemplateId: ':checkoutTemplateId' };
144
+ const getRequestOptions = ambassadorWixEcomV1CheckoutTemplate.createAndRedirectToCheckout(payload);
145
+ const getUrl = (context) => {
146
+ const { url } = getRequestOptions(context);
147
+ return url;
148
+ };
149
+ return {
150
+ getUrl,
151
+ httpMethod: 'GET',
152
+ path: '/v1/checkout-templates/{checkoutTemplateId}/create-and-redirect-to-checkout',
153
+ pathParams: { checkoutTemplateId: 'checkoutTemplateId' },
154
+ __requestType: null,
155
+ __originalRequestType: null,
156
+ __responseType: null,
157
+ __originalResponseType: null,
158
+ };
159
+ }
160
+ exports.createAndRedirectToCheckout = createAndRedirectToCheckout;
161
+ //# sourceMappingURL=ecom-v1-checkout-template-checkout-templates.meta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ecom-v1-checkout-template-checkout-templates.meta.js","sourceRoot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O,CAAC,CAAC;IAE3E,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,KAAK;QACjB,IAAI,EAAE,6EAA6E;QACnF,UAAU,EAAE,EAAE,kBAAkB,EAAE,oBAAoB,EAAE;QACxD,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA9BD,kEA8BC"}
@@ -0,0 +1,111 @@
1
+ import { EventDefinition, HttpClient } from '@wix/sdk-types';
2
+ import { CheckoutTemplate, CheckoutTemplateCreatedEnvelope, CheckoutTemplateDeletedEnvelope, CheckoutTemplateNonNullableFields, CheckoutTemplateUpdatedEnvelope, CheckoutTemplateUsedEnvelope, CheckoutTemplatesQueryBuilder, CreateCheckoutFromTemplateResponse, CreateCheckoutFromTemplateResponseNonNullableFields, RawHttpResponse, RawHttpResponseNonNullableFields, UpdateCheckoutTemplate } from './ecom-v1-checkout-template-checkout-templates.universal.js';
3
+ export declare const __metadata: {
4
+ PACKAGE_NAME: string;
5
+ };
6
+ export declare function createCheckoutTemplate(httpClient: HttpClient): CreateCheckoutTemplateSignature;
7
+ interface CreateCheckoutTemplateSignature {
8
+ /**
9
+ * Creates a checkout template.
10
+ *
11
+ * A checkout template is used to create a new checkout that will include predefined information. For example, a single link with
12
+ * a `checkoutTemplateId` can be shared with customers and each time the link is clicked, a new checkout page will be created
13
+ * for that customer with certain checkout information already populated.
14
+ *
15
+ * The customizable features include the option to allow or to lock coupon codes or gift cards. For example, if a store owner is
16
+ * using the checkout template to offer a flash sale to their social media followers, they may want to lock the option to apply an
17
+ * additional coupon on top of the sale being offered. If so, they can set `customization.lockedCoupon` to `true`.
18
+ *
19
+ * A checkout can be created with a checkout template by calling `createCheckoutFromTemplate()`. The site may add further customizations to the new checkout and then redirect the customer using the new checkout's `checkoutUrl`.
20
+ * @param - Checkout template to create.
21
+ * @returns Created checkout template.
22
+ */
23
+ (checkoutTemplate: CheckoutTemplate): Promise<CheckoutTemplate & CheckoutTemplateNonNullableFields>;
24
+ }
25
+ export declare function getCheckoutTemplate(httpClient: HttpClient): GetCheckoutTemplateSignature;
26
+ interface GetCheckoutTemplateSignature {
27
+ /**
28
+ * Retrieves a checkout template.
29
+ * @param - ID of the checkout template to retrieve.
30
+ * @returns Retrieved checkout template.
31
+ */
32
+ (checkoutTemplateId: string): Promise<CheckoutTemplate & CheckoutTemplateNonNullableFields>;
33
+ }
34
+ export declare function updateCheckoutTemplate(httpClient: HttpClient): UpdateCheckoutTemplateSignature;
35
+ interface UpdateCheckoutTemplateSignature {
36
+ /**
37
+ * Updates a checkout template.
38
+ *
39
+ * If the info in a checkout template is updated, only new checkouts created from this template will include the updated items. Checkouts previously
40
+ * created from this template before the update will not be affected.
41
+ * @param - Checkout template ID.
42
+ * @param - Checkout template info to update.
43
+ * @returns Updated checkout template.
44
+ */
45
+ (_id: string | null, checkoutTemplate: UpdateCheckoutTemplate): Promise<CheckoutTemplate & CheckoutTemplateNonNullableFields>;
46
+ }
47
+ export declare function deleteCheckoutTemplate(httpClient: HttpClient): DeleteCheckoutTemplateSignature;
48
+ interface DeleteCheckoutTemplateSignature {
49
+ /**
50
+ * Deletes a checkout template.
51
+ *
52
+ * If a checkout template is deleted and a customer attempts to create a checkout with that `checkoutTemplateId` then
53
+ * the customer will be redirected to the domain site.
54
+ * @param - ID of the checkout template to delete.
55
+ */
56
+ (checkoutTemplateId: string): Promise<void>;
57
+ }
58
+ export declare function queryCheckoutTemplates(httpClient: HttpClient): QueryCheckoutTemplatesSignature;
59
+ interface QueryCheckoutTemplatesSignature {
60
+ /**
61
+ * Creates a query to retrieve a list of checkout templates.
62
+ *
63
+ * The `queryCheckoutTemplates()` function builds a query to retrieve a list of checkout templates and returns a `CheckoutTemplatesQueryBuilder` object.
64
+ *
65
+ * The returned object contains the query definition, which is typically used to run the query using the `find()` function.
66
+ *
67
+ * You can refine the query by chaining `CheckoutTemplatesQueryBuilder` functions onto the query. `CheckoutTemplatesQueryBuilder` functions enable you to sort, filter, and control the results that `queryCheckoutTemplates()` returns.
68
+ *
69
+ * `queryCheckoutTemplates()` runs with the following `CheckoutTemplatesQueryBuilder` default that you can override:
70
+ * + `ascending("_id")`
71
+ *
72
+ * The functions that are chained to `queryCheckoutTemplates()` are applied in the order they are called. For example, if you apply `ascending("status")` and then `ascending("_id")`, the results are sorted first by the `"status"`, and then, if there are multiple results with the same `"status"`, the items are sorted by `"_id"`.
73
+ *
74
+ * The following `CheckoutTemplatesQueryBuilder` functions are supported for the `queryCheckoutTemplates()` function. For a full description of the checkout template object, see the object returned for the `items` property in `CheckoutTemplatesQueryResult`.
75
+ */
76
+ (): CheckoutTemplatesQueryBuilder;
77
+ }
78
+ export declare function createCheckoutFromTemplate(httpClient: HttpClient): CreateCheckoutFromTemplateSignature;
79
+ interface CreateCheckoutFromTemplateSignature {
80
+ /**
81
+ * Creates a new checkout based on the checkout template.
82
+ *
83
+ * Before using this function, you must have a checkout template available. Create a checkout template with `createCheckoutTemplate()`.
84
+ *
85
+ * The customer can be directed to the new checkout using the checkout's `checkoutUrl`.
86
+ * @param - ID of the checkout template to use to create a checkout from.
87
+ * @param - ID of the site associated with the checkout template.
88
+ */
89
+ (checkoutTemplateId: string, siteId: string): Promise<CreateCheckoutFromTemplateResponse & CreateCheckoutFromTemplateResponseNonNullableFields>;
90
+ }
91
+ export declare function createAndRedirectToCheckout(httpClient: HttpClient): CreateAndRedirectToCheckoutSignature;
92
+ interface CreateAndRedirectToCheckoutSignature {
93
+ /**
94
+ * Creates a new checkout based on the checkout template and redirects to the new checkout page.
95
+ *
96
+ * Before using this function, you must have a checkout template available. Create a checkout template with `createCheckoutTemplate()`.
97
+ *
98
+ * To build a URL that uses this function, follow this format:
99
+ * `https://www.wixapis.com/ecom/v1/checkout-templates/{checkoutTemplateId}/create-and-redirect-to-checkout?siteId={siteId}`
100
+ *
101
+ * To create a checkout but not automatically redirect to the checkout page, use `createCheckoutFromTemplate()`.
102
+ * @param - ID of the checkout template to use to create a checkout.
103
+ * @param - ID of the site associated with the checkout template.
104
+ */
105
+ (checkoutTemplateId: string, siteId: string): Promise<RawHttpResponse & RawHttpResponseNonNullableFields>;
106
+ }
107
+ export declare const onCheckoutTemplateCreated: EventDefinition<CheckoutTemplateCreatedEnvelope, "wix.ecom.v1.checkout_template_created">;
108
+ export declare const onCheckoutTemplateDeleted: EventDefinition<CheckoutTemplateDeletedEnvelope, "wix.ecom.v1.checkout_template_deleted">;
109
+ export declare const onCheckoutTemplateUpdated: EventDefinition<CheckoutTemplateUpdatedEnvelope, "wix.ecom.v1.checkout_template_updated">;
110
+ export declare const onCheckoutTemplateUsed: EventDefinition<CheckoutTemplateUsedEnvelope, "wix.ecom.v1.checkout_template_used">;
111
+ export { ActionEvent, AdditionalFee, AdditionalFeeSource, Address, AddressLocation, AddressWithContact, AggregatedTaxBreakdown, ApplicableLineItems, ApplicationError, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, AutoTaxFallbackCalculationDetails, BaseEventMetadata, BuyerInfo, BuyerInfoIdOneOf, CalculationErrors, CalculationErrorsShippingCalculationErrorOneOf, Carrier, CarrierError, CarrierErrors, CarrierServiceOption, CatalogOverrideFields, CatalogReference, ChannelType, ChargeType, Checkout, CheckoutCustomization, CheckoutTemplate, CheckoutTemplateCreatedEnvelope, CheckoutTemplateDeletedEnvelope, CheckoutTemplateNonNullableFields, CheckoutTemplateUpdatedEnvelope, CheckoutTemplateUsed, CheckoutTemplateUsedEnvelope, CheckoutTemplatesQueryBuilder, CheckoutTemplatesQueryResult, Color, ConversionInfo, Coupon, CreateAndRedirectToCheckoutRequest, CreateCheckoutFromTemplateRequest, CreateCheckoutFromTemplateResponse, CreateCheckoutFromTemplateResponseNonNullableFields, CreateCheckoutTemplateRequest, CreateCheckoutTemplateResponse, CreateCheckoutTemplateResponseNonNullableFields, CreatedBy, CreatedByIdOneOf, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomContentReference, CustomField, CustomLineItem, CustomSettings, DeleteCheckoutTemplateRequest, DeleteCheckoutTemplateResponse, DeliveryAllocation, DeliveryLogistics, DeliveryTimeSlot, Description, DescriptionLine, DescriptionLineDescriptionLineValueOneOf, DescriptionLineName, DescriptionLineType, DescriptionLineValueOneOf, Details, DetailsKindOneOf, DiscountRule, DiscountRuleName, DiscountType, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, ExternalReference, FallbackReason, FieldViolation, FileType, FocalPoint, FreeTrialPeriod, FullAddressContactDetails, GetCheckoutTemplateRequest, GetCheckoutTemplateResponse, GetCheckoutTemplateResponseNonNullableFields, GiftCard, Group, HeadersEntry, IdentificationData, IdentificationDataIdOneOf, InvalidMembership, ItemAvailabilityInfo, ItemAvailabilityStatus, ItemTaxFullDetails, ItemType, ItemTypeItemType, ItemTypeItemTypeDataOneOf, JurisdictionType, LineItem, LineItemDiscount, ManualCalculationReason, Membership, MembershipName, MembershipOptions, MembershipPaymentCredits, MerchantDiscount, MessageEnvelope, MultiCurrencyPrice, NameInLineItem, NameInOther, Other, OtherCharge, PaymentOption, PaymentOptionType, PhysicalProperties, PickupDetails, PickupMethod, PlainTextValue, Policy, PriceDescription, PriceSummary, ProductName, QueryCheckoutTemplatesRequest, QueryCheckoutTemplatesResponse, QueryCheckoutTemplatesResponseNonNullableFields, RateType, RawHttpResponse, RawHttpResponseNonNullableFields, Region, RestoreInfo, RuleType, Scope, SecuredMedia, SelectedCarrierServiceOption, SelectedCarrierServiceOptionOtherCharge, SelectedCarrierServiceOptionPrices, SelectedMembership, SelectedMemberships, ServiceProperties, Severity, ShippingInfo, ShippingOption, ShippingPrice, ShippingRegion, SortOrder, Sorting, Status, StreetAddress, SubscriptionFrequency, SubscriptionOptionInfo, SubscriptionSettings, SuggestedFix, SystemError, Target, TargetLineItem, TargetTargetTypeOneOf, TaxBreakdown, TaxCalculationDetails, TaxCalculationDetailsCalculationDetailsOneOf, TaxRateBreakdown, TaxSummary, TaxableAddress, TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, Title, UpdateCheckoutTemplate, UpdateCheckoutTemplateRequest, UpdateCheckoutTemplateResponse, UpdateCheckoutTemplateResponseNonNullableFields, V1LineItem, ValidationError, VatId, VatType, Violation, WebClientCustomization, WebhookIdentityType, WeightUnit, } from './ecom-v1-checkout-template-checkout-templates.universal.js';
@@ -0,0 +1,268 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WeightUnit = exports.WebhookIdentityType = exports.VatType = exports.TaxableAddressType = exports.SuggestedFix = exports.SubscriptionFrequency = exports.Status = exports.SortOrder = exports.Severity = exports.RuleType = exports.RateType = exports.PickupMethod = exports.PaymentOptionType = exports.NameInOther = exports.NameInLineItem = exports.ManualCalculationReason = exports.JurisdictionType = exports.ItemTypeItemType = exports.ItemAvailabilityStatus = exports.FileType = exports.FallbackReason = exports.DiscountType = exports.DescriptionLineType = exports.ChargeType = exports.ChannelType = exports.AdditionalFeeSource = exports.onCheckoutTemplateUsed = exports.onCheckoutTemplateUpdated = exports.onCheckoutTemplateDeleted = exports.onCheckoutTemplateCreated = exports.createAndRedirectToCheckout = exports.createCheckoutFromTemplate = exports.queryCheckoutTemplates = exports.deleteCheckoutTemplate = exports.updateCheckoutTemplate = exports.getCheckoutTemplate = exports.createCheckoutTemplate = exports.__metadata = void 0;
4
+ const rename_all_nested_keys_1 = require("@wix/sdk-runtime/rename-all-nested-keys");
5
+ const address_1 = require("@wix/sdk-runtime/transformations/address");
6
+ const float_1 = require("@wix/sdk-runtime/transformations/float");
7
+ const image_1 = require("@wix/sdk-runtime/transformations/image");
8
+ const page_url_v2_1 = require("@wix/sdk-runtime/transformations/page-url-v2");
9
+ const timestamp_1 = require("@wix/sdk-runtime/transformations/timestamp");
10
+ const transform_paths_1 = require("@wix/sdk-runtime/transformations/transform-paths");
11
+ const sdk_types_1 = require("@wix/sdk-types");
12
+ const ecom_v1_checkout_template_checkout_templates_universal_js_1 = require("./ecom-v1-checkout-template-checkout-templates.universal.js");
13
+ exports.__metadata = { PACKAGE_NAME: '@wix/ecom' };
14
+ function createCheckoutTemplate(httpClient) {
15
+ return (checkoutTemplate) => (0, ecom_v1_checkout_template_checkout_templates_universal_js_1.createCheckoutTemplate)(checkoutTemplate,
16
+ // @ts-ignore
17
+ { httpClient });
18
+ }
19
+ exports.createCheckoutTemplate = createCheckoutTemplate;
20
+ function getCheckoutTemplate(httpClient) {
21
+ return (checkoutTemplateId) => (0, ecom_v1_checkout_template_checkout_templates_universal_js_1.getCheckoutTemplate)(checkoutTemplateId,
22
+ // @ts-ignore
23
+ { httpClient });
24
+ }
25
+ exports.getCheckoutTemplate = getCheckoutTemplate;
26
+ function updateCheckoutTemplate(httpClient) {
27
+ return (_id, checkoutTemplate) => (0, ecom_v1_checkout_template_checkout_templates_universal_js_1.updateCheckoutTemplate)(_id, checkoutTemplate,
28
+ // @ts-ignore
29
+ { httpClient });
30
+ }
31
+ exports.updateCheckoutTemplate = updateCheckoutTemplate;
32
+ function deleteCheckoutTemplate(httpClient) {
33
+ return (checkoutTemplateId) => (0, ecom_v1_checkout_template_checkout_templates_universal_js_1.deleteCheckoutTemplate)(checkoutTemplateId,
34
+ // @ts-ignore
35
+ { httpClient });
36
+ }
37
+ exports.deleteCheckoutTemplate = deleteCheckoutTemplate;
38
+ function queryCheckoutTemplates(httpClient) {
39
+ return () => (0, ecom_v1_checkout_template_checkout_templates_universal_js_1.queryCheckoutTemplates)(
40
+ // @ts-ignore
41
+ { httpClient });
42
+ }
43
+ exports.queryCheckoutTemplates = queryCheckoutTemplates;
44
+ function createCheckoutFromTemplate(httpClient) {
45
+ return (checkoutTemplateId, siteId) => (0, ecom_v1_checkout_template_checkout_templates_universal_js_1.createCheckoutFromTemplate)(checkoutTemplateId, siteId,
46
+ // @ts-ignore
47
+ { httpClient });
48
+ }
49
+ exports.createCheckoutFromTemplate = createCheckoutFromTemplate;
50
+ function createAndRedirectToCheckout(httpClient) {
51
+ return (checkoutTemplateId, siteId) => (0, ecom_v1_checkout_template_checkout_templates_universal_js_1.createAndRedirectToCheckout)(checkoutTemplateId, siteId,
52
+ // @ts-ignore
53
+ { httpClient });
54
+ }
55
+ exports.createAndRedirectToCheckout = createAndRedirectToCheckout;
56
+ exports.onCheckoutTemplateCreated = (0, sdk_types_1.EventDefinition)('wix.ecom.v1.checkout_template_created', true, (event) => (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(event, [
57
+ {
58
+ transformFn: image_1.transformRESTImageToSDKImage,
59
+ paths: [
60
+ { path: 'entity.lineItems.catalogOverrideFields.image' },
61
+ { path: 'entity.customLineItems.media' },
62
+ ],
63
+ },
64
+ {
65
+ transformFn: float_1.transformRESTFloatToSDKFloat,
66
+ paths: [
67
+ {
68
+ path: 'entity.lineItems.catalogOverrideFields.physicalProperties.weight',
69
+ },
70
+ { path: 'entity.customLineItems.physicalProperties.weight' },
71
+ ],
72
+ },
73
+ {
74
+ transformFn: page_url_v2_1.transformRESTPageURLV2ToSDKPageURLV2,
75
+ paths: [{ path: 'entity.customLineItems.url' }],
76
+ },
77
+ {
78
+ transformFn: timestamp_1.transformRESTTimestampToSDKTimestamp,
79
+ paths: [
80
+ {
81
+ path: 'entity.customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate',
82
+ },
83
+ { path: 'entity.customLineItems.serviceProperties.scheduledDate' },
84
+ { path: 'metadata.eventTime' },
85
+ ],
86
+ },
87
+ ])))();
88
+ exports.onCheckoutTemplateDeleted = (0, sdk_types_1.EventDefinition)('wix.ecom.v1.checkout_template_deleted', true, (event) => (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(event, [
89
+ {
90
+ transformFn: image_1.transformRESTImageToSDKImage,
91
+ paths: [
92
+ { path: 'undefined.lineItems.catalogOverrideFields.image' },
93
+ { path: 'undefined.customLineItems.media' },
94
+ ],
95
+ },
96
+ {
97
+ transformFn: float_1.transformRESTFloatToSDKFloat,
98
+ paths: [
99
+ {
100
+ path: 'undefined.lineItems.catalogOverrideFields.physicalProperties.weight',
101
+ },
102
+ { path: 'undefined.customLineItems.physicalProperties.weight' },
103
+ ],
104
+ },
105
+ {
106
+ transformFn: page_url_v2_1.transformRESTPageURLV2ToSDKPageURLV2,
107
+ paths: [{ path: 'undefined.customLineItems.url' }],
108
+ },
109
+ {
110
+ transformFn: timestamp_1.transformRESTTimestampToSDKTimestamp,
111
+ paths: [
112
+ {
113
+ path: 'undefined.customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate',
114
+ },
115
+ {
116
+ path: 'undefined.customLineItems.serviceProperties.scheduledDate',
117
+ },
118
+ { path: 'metadata.eventTime' },
119
+ ],
120
+ },
121
+ ])))();
122
+ exports.onCheckoutTemplateUpdated = (0, sdk_types_1.EventDefinition)('wix.ecom.v1.checkout_template_updated', true, (event) => (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(event, [
123
+ {
124
+ transformFn: image_1.transformRESTImageToSDKImage,
125
+ paths: [
126
+ { path: 'entity.lineItems.catalogOverrideFields.image' },
127
+ { path: 'entity.customLineItems.media' },
128
+ ],
129
+ },
130
+ {
131
+ transformFn: float_1.transformRESTFloatToSDKFloat,
132
+ paths: [
133
+ {
134
+ path: 'entity.lineItems.catalogOverrideFields.physicalProperties.weight',
135
+ },
136
+ { path: 'entity.customLineItems.physicalProperties.weight' },
137
+ ],
138
+ },
139
+ {
140
+ transformFn: page_url_v2_1.transformRESTPageURLV2ToSDKPageURLV2,
141
+ paths: [{ path: 'entity.customLineItems.url' }],
142
+ },
143
+ {
144
+ transformFn: timestamp_1.transformRESTTimestampToSDKTimestamp,
145
+ paths: [
146
+ {
147
+ path: 'entity.customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate',
148
+ },
149
+ { path: 'entity.customLineItems.serviceProperties.scheduledDate' },
150
+ { path: 'metadata.eventTime' },
151
+ ],
152
+ },
153
+ ])))();
154
+ exports.onCheckoutTemplateUsed = (0, sdk_types_1.EventDefinition)('wix.ecom.v1.checkout_template_used', true, (event) => (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(event, [
155
+ {
156
+ transformFn: image_1.transformRESTImageToSDKImage,
157
+ paths: [
158
+ {
159
+ path: 'data.checkoutTemplate.lineItems.catalogOverrideFields.image',
160
+ },
161
+ { path: 'data.checkoutTemplate.customLineItems.media' },
162
+ { path: 'data.checkout.lineItems.media' },
163
+ { path: 'data.checkout.lineItems.catalogOverrideFields.image' },
164
+ ],
165
+ },
166
+ {
167
+ transformFn: float_1.transformRESTFloatToSDKFloat,
168
+ paths: [
169
+ {
170
+ path: 'data.checkoutTemplate.lineItems.catalogOverrideFields.physicalProperties.weight',
171
+ },
172
+ {
173
+ path: 'data.checkoutTemplate.customLineItems.physicalProperties.weight',
174
+ },
175
+ { path: 'data.checkout.lineItems.physicalProperties.weight' },
176
+ {
177
+ path: 'data.checkout.lineItems.catalogOverrideFields.physicalProperties.weight',
178
+ },
179
+ {
180
+ path: 'data.checkout.appliedDiscounts.merchantDiscount.percentage',
181
+ },
182
+ ],
183
+ },
184
+ {
185
+ transformFn: page_url_v2_1.transformRESTPageURLV2ToSDKPageURLV2,
186
+ paths: [
187
+ { path: 'data.checkoutTemplate.customLineItems.url' },
188
+ { path: 'data.checkout.lineItems.url' },
189
+ ],
190
+ },
191
+ {
192
+ transformFn: timestamp_1.transformRESTTimestampToSDKTimestamp,
193
+ paths: [
194
+ {
195
+ path: 'data.checkoutTemplate.customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate',
196
+ },
197
+ {
198
+ path: 'data.checkoutTemplate.customLineItems.serviceProperties.scheduledDate',
199
+ },
200
+ { path: 'data.checkout.createdDate' },
201
+ { path: 'data.checkout.updatedDate' },
202
+ {
203
+ path: 'data.checkout.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate',
204
+ },
205
+ { path: 'data.checkout.lineItems.serviceProperties.scheduledDate' },
206
+ {
207
+ path: 'data.checkout.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.from',
208
+ },
209
+ {
210
+ path: 'data.checkout.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.to',
211
+ },
212
+ {
213
+ path: 'data.checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.from',
214
+ },
215
+ {
216
+ path: 'data.checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.to',
217
+ },
218
+ {
219
+ path: 'data.checkout.membershipOptions.eligibleMemberships.expirationDate',
220
+ },
221
+ {
222
+ path: 'data.checkout.membershipOptions.invalidMemberships.membership.expirationDate',
223
+ },
224
+ { path: 'metadata.eventTime' },
225
+ ],
226
+ },
227
+ {
228
+ transformFn: address_1.transformRESTAddressToSDKAddress,
229
+ paths: [
230
+ { path: 'data.checkout.billingInfo.address' },
231
+ { path: 'data.checkout.shippingInfo.shippingDestination.address' },
232
+ {
233
+ path: 'data.checkout.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address',
234
+ },
235
+ {
236
+ path: 'data.checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address',
237
+ },
238
+ ],
239
+ },
240
+ ])))();
241
+ var ecom_v1_checkout_template_checkout_templates_universal_js_2 = require("./ecom-v1-checkout-template-checkout-templates.universal.js");
242
+ Object.defineProperty(exports, "AdditionalFeeSource", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_2.AdditionalFeeSource; } });
243
+ Object.defineProperty(exports, "ChannelType", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_2.ChannelType; } });
244
+ Object.defineProperty(exports, "ChargeType", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_2.ChargeType; } });
245
+ Object.defineProperty(exports, "DescriptionLineType", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_2.DescriptionLineType; } });
246
+ Object.defineProperty(exports, "DiscountType", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_2.DiscountType; } });
247
+ Object.defineProperty(exports, "FallbackReason", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_2.FallbackReason; } });
248
+ Object.defineProperty(exports, "FileType", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_2.FileType; } });
249
+ Object.defineProperty(exports, "ItemAvailabilityStatus", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_2.ItemAvailabilityStatus; } });
250
+ Object.defineProperty(exports, "ItemTypeItemType", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_2.ItemTypeItemType; } });
251
+ Object.defineProperty(exports, "JurisdictionType", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_2.JurisdictionType; } });
252
+ Object.defineProperty(exports, "ManualCalculationReason", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_2.ManualCalculationReason; } });
253
+ Object.defineProperty(exports, "NameInLineItem", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_2.NameInLineItem; } });
254
+ Object.defineProperty(exports, "NameInOther", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_2.NameInOther; } });
255
+ Object.defineProperty(exports, "PaymentOptionType", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_2.PaymentOptionType; } });
256
+ Object.defineProperty(exports, "PickupMethod", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_2.PickupMethod; } });
257
+ Object.defineProperty(exports, "RateType", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_2.RateType; } });
258
+ Object.defineProperty(exports, "RuleType", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_2.RuleType; } });
259
+ Object.defineProperty(exports, "Severity", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_2.Severity; } });
260
+ Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_2.SortOrder; } });
261
+ Object.defineProperty(exports, "Status", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_2.Status; } });
262
+ Object.defineProperty(exports, "SubscriptionFrequency", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_2.SubscriptionFrequency; } });
263
+ Object.defineProperty(exports, "SuggestedFix", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_2.SuggestedFix; } });
264
+ Object.defineProperty(exports, "TaxableAddressType", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_2.TaxableAddressType; } });
265
+ Object.defineProperty(exports, "VatType", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_2.VatType; } });
266
+ Object.defineProperty(exports, "WebhookIdentityType", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_2.WebhookIdentityType; } });
267
+ Object.defineProperty(exports, "WeightUnit", { enumerable: true, get: function () { return ecom_v1_checkout_template_checkout_templates_universal_js_2.WeightUnit; } });
268
+ //# sourceMappingURL=ecom-v1-checkout-template-checkout-templates.public.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ecom-v1-checkout-template-checkout-templates.public.js","sourceRoot":"","sources":["../../../src/ecom-v1-checkout-template-checkout-templates.public.ts"],"names":[],"mappings":";;;AAAA,oFAAkG;AAClG,sEAA4F;AAC5F,kEAAsF;AACtF,kEAAs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