@wix/auto_sdk_pricing-plans_pricing-plans-settings 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 (39) hide show
  1. package/build/cjs/index.d.ts +190 -0
  2. package/build/cjs/index.js +214 -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 +194 -0
  6. package/build/cjs/index.typings.js.map +1 -0
  7. package/build/cjs/meta.d.ts +207 -0
  8. package/build/cjs/meta.js +180 -0
  9. package/build/cjs/meta.js.map +1 -0
  10. package/build/es/index.d.mts +190 -0
  11. package/build/es/index.mjs +187 -0
  12. package/build/es/index.mjs.map +1 -0
  13. package/build/es/index.typings.d.mts +1 -0
  14. package/build/es/index.typings.mjs +167 -0
  15. package/build/es/index.typings.mjs.map +1 -0
  16. package/build/es/meta.d.mts +207 -0
  17. package/build/es/meta.mjs +150 -0
  18. package/build/es/meta.mjs.map +1 -0
  19. package/build/es/package.json +3 -0
  20. package/build/internal/cjs/index.d.ts +34 -0
  21. package/build/internal/cjs/index.js +214 -0
  22. package/build/internal/cjs/index.js.map +1 -0
  23. package/build/internal/cjs/index.typings.d.ts +217 -0
  24. package/build/internal/cjs/index.typings.js +194 -0
  25. package/build/internal/cjs/index.typings.js.map +1 -0
  26. package/build/internal/cjs/meta.d.ts +208 -0
  27. package/build/internal/cjs/meta.js +180 -0
  28. package/build/internal/cjs/meta.js.map +1 -0
  29. package/build/internal/es/index.d.mts +34 -0
  30. package/build/internal/es/index.mjs +187 -0
  31. package/build/internal/es/index.mjs.map +1 -0
  32. package/build/internal/es/index.typings.d.mts +217 -0
  33. package/build/internal/es/index.typings.mjs +167 -0
  34. package/build/internal/es/index.typings.mjs.map +1 -0
  35. package/build/internal/es/meta.d.mts +208 -0
  36. package/build/internal/es/meta.mjs +150 -0
  37. package/build/internal/es/meta.mjs.map +1 -0
  38. package/meta/package.json +3 -0
  39. package/package.json +54 -0
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../index.typings.ts","../../src/pricing-plans-settings-v1-pricing-plans-settings-pricing-plans-settings.universal.ts","../../src/pricing-plans-settings-v1-pricing-plans-settings-pricing-plans-settings.http.ts"],"sourcesContent":["export * from './src/pricing-plans-settings-v1-pricing-plans-settings-pricing-plans-settings.universal.js';\n","import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport {\n renameKeysFromSDKRequestToRESTRequest,\n renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport * as ambassadorWixPricingPlansSettingsV1PricingPlansSettings from './pricing-plans-settings-v1-pricing-plans-settings-pricing-plans-settings.http.js';\n\nexport interface PricingPlansSettings {\n /**\n * Revision number, which increments by 1 each time the PricingPlans settings are updated. To prevent conflicting changes, the current revision must be passed when updating the PricingPlans settings.\n * Ignored when creating a PricingPlans settings.\n * @readonly\n */\n revision?: string | null;\n /**\n * Date and time the PricingPlansSettings was created.\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * Date and time the PricingPlansSettings was last updated.\n * @readonly\n */\n _updatedDate?: Date | null;\n /** Site's taxable address, which determines how tax is calculated for pricing plans. */\n taxableAddress?: TaxableAddressWithLiterals;\n /** Data Extensions */\n extendedFields?: ExtendedFields;\n}\n\nexport enum TaxableAddress {\n UNKNOWN_TYPE = 'UNKNOWN_TYPE',\n BILLING = 'BILLING',\n BUSINESS = 'BUSINESS',\n}\n\n/** @enumType */\nexport type TaxableAddressWithLiterals =\n | TaxableAddress\n | 'UNKNOWN_TYPE'\n | 'BILLING'\n | 'BUSINESS';\n\nexport interface ExtendedFields {\n /**\n * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n * The value of each key is structured according to the schema defined when the extended fields were configured.\n *\n * You can only access fields for which you have the appropriate permissions.\n *\n * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n */\n namespaces?: Record<string, Record<string, any>>;\n}\n\nexport interface GetPricingPlansSettingsRequest {}\n\nexport interface GetPricingPlansSettingsResponse {\n /** Pricing Plans settings */\n pricingPlansSettings?: PricingPlansSettings;\n}\n\nexport interface UpdatePricingPlansSettingsRequest {\n /** PricingPlansSettings to be updated, may be partial. */\n pricingPlansSettings: PricingPlansSettings;\n}\n\nexport interface UpdatePricingPlansSettingsResponse {\n /** Updated PricingPlansSettings. */\n pricingPlansSettings?: PricingPlansSettings;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entity?: string;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntity?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntity?: string | null;\n}\n\nexport interface ActionEvent {\n body?: string;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\n/**\n * Retrieves a site's Pricing Plans Settings.\n * @internal\n * @documentationMaturity preview\n * @permissionId PRICING_PLANS.PRICING_PLANS_SETTINGS_READ\n * @returns Pricing Plans settings\n * @fqn wix.pricing_plans.settings.v1.PricingPlansSettingsService.GetPricingPlansSettings\n */\nexport async function getPricingPlansSettings(): Promise<\n NonNullablePaths<PricingPlansSettings, `taxableAddress`, 2>\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[0] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({});\n\n const reqOpts =\n ambassadorWixPricingPlansSettingsV1PricingPlansSettings.getPricingPlansSettings(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)\n ?.pricingPlansSettings!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: {},\n singleArgumentUnchanged: false,\n },\n []\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Updates a site's Pricing Plans settings, or creates them if none exist.\n *\n * Each time the Pricing Plans settings are updated, `revision` increments by 1.\n * The current `revision` must be passed when updating the Pricing Plans settings.\n * This ensures you're working with the latest Pricing Plans settings and prevents unintended overwrites.\n * @param pricingPlansSettings - PricingPlansSettings to be updated, may be partial.\n * @internal\n * @documentationMaturity preview\n * @requiredField pricingPlansSettings\n * @requiredField pricingPlansSettings.revision\n * @permissionId PRICING_PLANS.PRICING_PLANS_SETTINGS_UPDATE\n * @returns Updated PricingPlansSettings.\n * @fqn wix.pricing_plans.settings.v1.PricingPlansSettingsService.UpdatePricingPlansSettings\n */\nexport async function updatePricingPlansSettings(\n pricingPlansSettings: NonNullablePaths<PricingPlansSettings, `revision`, 2>\n): Promise<NonNullablePaths<PricingPlansSettings, `taxableAddress`, 2>> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[1] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n pricingPlansSettings: pricingPlansSettings,\n });\n\n const reqOpts =\n ambassadorWixPricingPlansSettingsV1PricingPlansSettings.updatePricingPlansSettings(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)\n ?.pricingPlansSettings!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { pricingPlansSettings: '$[0]' },\n singleArgumentUnchanged: false,\n },\n ['pricingPlansSettings']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixPricingPlansSettingsV1PricingPlansSettingsServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {};\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_pricing-plans_pricing-plans-settings';\n\n/** Retrieves a site's Pricing Plans Settings. */\nexport function getPricingPlansSettings(\n payload: object\n): RequestOptionsFactory<any> {\n function __getPricingPlansSettings({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.pricing_plans.settings.v1.pricing_plans_settings',\n method: 'GET' as any,\n methodFqn:\n 'wix.pricing_plans.settings.v1.PricingPlansSettingsService.GetPricingPlansSettings',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixPricingPlansSettingsV1PricingPlansSettingsServiceUrl({\n protoPath: '/v1/pricing-plans-settings',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'pricingPlansSettings.createdDate' },\n { path: 'pricingPlansSettings.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getPricingPlansSettings;\n}\n\n/**\n * Updates a site's Pricing Plans settings, or creates them if none exist.\n *\n * Each time the Pricing Plans settings are updated, `revision` increments by 1.\n * The current `revision` must be passed when updating the Pricing Plans settings.\n * This ensures you're working with the latest Pricing Plans settings and prevents unintended overwrites.\n */\nexport function updatePricingPlansSettings(\n payload: object\n): RequestOptionsFactory<any> {\n function __updatePricingPlansSettings({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'pricingPlansSettings.createdDate' },\n { path: 'pricingPlansSettings.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.pricing_plans.settings.v1.pricing_plans_settings',\n method: 'PATCH' as any,\n methodFqn:\n 'wix.pricing_plans.settings.v1.PricingPlansSettingsService.UpdatePricingPlansSettings',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixPricingPlansSettingsV1PricingPlansSettingsServiceUrl({\n protoPath: '/v1/pricing-plans-settings',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'pricingPlansSettings.createdDate' },\n { path: 'pricingPlansSettings.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updatePricingPlansSettings;\n}\n"],"mappings":"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","names":["getPricingPlansSettings","updatePricingPlansSettings","import_timestamp","import_rest_modules","payload","TaxableAddress","WebhookIdentityType","getPricingPlansSettings","sdkTransformError","updatePricingPlansSettings"]}
@@ -0,0 +1,207 @@
1
+ import { GetPricingPlansSettingsRequest as GetPricingPlansSettingsRequest$1, GetPricingPlansSettingsResponse as GetPricingPlansSettingsResponse$1, UpdatePricingPlansSettingsRequest as UpdatePricingPlansSettingsRequest$1, UpdatePricingPlansSettingsResponse as UpdatePricingPlansSettingsResponse$1 } from './index.js';
2
+
3
+ interface PricingPlansSettings {
4
+ /**
5
+ * Revision number, which increments by 1 each time the PricingPlans settings are updated. To prevent conflicting changes, the current revision must be passed when updating the PricingPlans settings.
6
+ * Ignored when creating a PricingPlans settings.
7
+ * @readonly
8
+ */
9
+ revision?: string | null;
10
+ /**
11
+ * Date and time the PricingPlansSettings was created.
12
+ * @readonly
13
+ */
14
+ createdDate?: Date | null;
15
+ /**
16
+ * Date and time the PricingPlansSettings was last updated.
17
+ * @readonly
18
+ */
19
+ updatedDate?: Date | null;
20
+ /** Site's taxable address, which determines how tax is calculated for pricing plans. */
21
+ taxableAddress?: TaxableAddressWithLiterals;
22
+ /** Data Extensions */
23
+ extendedFields?: ExtendedFields;
24
+ }
25
+ declare enum TaxableAddress {
26
+ UNKNOWN_TYPE = "UNKNOWN_TYPE",
27
+ BILLING = "BILLING",
28
+ BUSINESS = "BUSINESS"
29
+ }
30
+ /** @enumType */
31
+ type TaxableAddressWithLiterals = TaxableAddress | 'UNKNOWN_TYPE' | 'BILLING' | 'BUSINESS';
32
+ interface ExtendedFields {
33
+ /**
34
+ * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
35
+ * The value of each key is structured according to the schema defined when the extended fields were configured.
36
+ *
37
+ * You can only access fields for which you have the appropriate permissions.
38
+ *
39
+ * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
40
+ */
41
+ namespaces?: Record<string, Record<string, any>>;
42
+ }
43
+ interface GetPricingPlansSettingsRequest {
44
+ }
45
+ interface GetPricingPlansSettingsResponse {
46
+ /** Pricing Plans settings */
47
+ pricingPlansSettings?: PricingPlansSettings;
48
+ }
49
+ interface UpdatePricingPlansSettingsRequest {
50
+ /** PricingPlansSettings to be updated, may be partial. */
51
+ pricingPlansSettings: PricingPlansSettings;
52
+ }
53
+ interface UpdatePricingPlansSettingsResponse {
54
+ /** Updated PricingPlansSettings. */
55
+ pricingPlansSettings?: PricingPlansSettings;
56
+ }
57
+ interface DomainEvent extends DomainEventBodyOneOf {
58
+ createdEvent?: EntityCreatedEvent;
59
+ updatedEvent?: EntityUpdatedEvent;
60
+ deletedEvent?: EntityDeletedEvent;
61
+ actionEvent?: ActionEvent;
62
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
63
+ id?: string;
64
+ /**
65
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
66
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
67
+ */
68
+ entityFqdn?: string;
69
+ /**
70
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
71
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
72
+ */
73
+ slug?: string;
74
+ /** ID of the entity associated with the event. */
75
+ entityId?: string;
76
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
77
+ eventTime?: Date | null;
78
+ /**
79
+ * Whether the event was triggered as a result of a privacy regulation application
80
+ * (for example, GDPR).
81
+ */
82
+ triggeredByAnonymizeRequest?: boolean | null;
83
+ /** If present, indicates the action that triggered the event. */
84
+ originatedFrom?: string | null;
85
+ /**
86
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
87
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
88
+ */
89
+ entityEventSequence?: string | null;
90
+ }
91
+ /** @oneof */
92
+ interface DomainEventBodyOneOf {
93
+ createdEvent?: EntityCreatedEvent;
94
+ updatedEvent?: EntityUpdatedEvent;
95
+ deletedEvent?: EntityDeletedEvent;
96
+ actionEvent?: ActionEvent;
97
+ }
98
+ interface EntityCreatedEvent {
99
+ entityAsJson?: string;
100
+ /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
101
+ restoreInfo?: RestoreInfo;
102
+ }
103
+ interface RestoreInfo {
104
+ deletedDate?: Date | null;
105
+ }
106
+ interface EntityUpdatedEvent {
107
+ /**
108
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
109
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
110
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
111
+ */
112
+ currentEntityAsJson?: string;
113
+ }
114
+ interface EntityDeletedEvent {
115
+ /** Entity that was deleted. */
116
+ deletedEntityAsJson?: string | null;
117
+ }
118
+ interface ActionEvent {
119
+ bodyAsJson?: string;
120
+ }
121
+ interface MessageEnvelope {
122
+ /**
123
+ * App instance ID.
124
+ * @format GUID
125
+ */
126
+ instanceId?: string | null;
127
+ /**
128
+ * Event type.
129
+ * @maxLength 150
130
+ */
131
+ eventType?: string;
132
+ /** The identification type and identity data. */
133
+ identity?: IdentificationData;
134
+ /** Stringify payload. */
135
+ data?: string;
136
+ }
137
+ interface IdentificationData extends IdentificationDataIdOneOf {
138
+ /**
139
+ * ID of a site visitor that has not logged in to the site.
140
+ * @format GUID
141
+ */
142
+ anonymousVisitorId?: string;
143
+ /**
144
+ * ID of a site visitor that has logged in to the site.
145
+ * @format GUID
146
+ */
147
+ memberId?: string;
148
+ /**
149
+ * ID of a Wix user (site owner, contributor, etc.).
150
+ * @format GUID
151
+ */
152
+ wixUserId?: string;
153
+ /**
154
+ * ID of an app.
155
+ * @format GUID
156
+ */
157
+ appId?: string;
158
+ /** @readonly */
159
+ identityType?: WebhookIdentityTypeWithLiterals;
160
+ }
161
+ /** @oneof */
162
+ interface IdentificationDataIdOneOf {
163
+ /**
164
+ * ID of a site visitor that has not logged in to the site.
165
+ * @format GUID
166
+ */
167
+ anonymousVisitorId?: string;
168
+ /**
169
+ * ID of a site visitor that has logged in to the site.
170
+ * @format GUID
171
+ */
172
+ memberId?: string;
173
+ /**
174
+ * ID of a Wix user (site owner, contributor, etc.).
175
+ * @format GUID
176
+ */
177
+ wixUserId?: string;
178
+ /**
179
+ * ID of an app.
180
+ * @format GUID
181
+ */
182
+ appId?: string;
183
+ }
184
+ declare enum WebhookIdentityType {
185
+ UNKNOWN = "UNKNOWN",
186
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
187
+ MEMBER = "MEMBER",
188
+ WIX_USER = "WIX_USER",
189
+ APP = "APP"
190
+ }
191
+ /** @enumType */
192
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
193
+
194
+ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
195
+ getUrl: (context: any) => string;
196
+ httpMethod: K;
197
+ path: string;
198
+ pathParams: M;
199
+ __requestType: T;
200
+ __originalRequestType: S;
201
+ __responseType: Q;
202
+ __originalResponseType: R;
203
+ };
204
+ declare function getPricingPlansSettings(): __PublicMethodMetaInfo<'GET', {}, GetPricingPlansSettingsRequest$1, GetPricingPlansSettingsRequest, GetPricingPlansSettingsResponse$1, GetPricingPlansSettingsResponse>;
205
+ declare function updatePricingPlansSettings(): __PublicMethodMetaInfo<'PATCH', {}, UpdatePricingPlansSettingsRequest$1, UpdatePricingPlansSettingsRequest, UpdatePricingPlansSettingsResponse$1, UpdatePricingPlansSettingsResponse>;
206
+
207
+ export { type ActionEvent as ActionEventOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type GetPricingPlansSettingsRequest as GetPricingPlansSettingsRequestOriginal, type GetPricingPlansSettingsResponse as GetPricingPlansSettingsResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type PricingPlansSettings as PricingPlansSettingsOriginal, type RestoreInfo as RestoreInfoOriginal, TaxableAddress as TaxableAddressOriginal, type TaxableAddressWithLiterals as TaxableAddressWithLiteralsOriginal, type UpdatePricingPlansSettingsRequest as UpdatePricingPlansSettingsRequestOriginal, type UpdatePricingPlansSettingsResponse as UpdatePricingPlansSettingsResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, getPricingPlansSettings, updatePricingPlansSettings };
@@ -0,0 +1,180 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // meta.ts
21
+ var meta_exports = {};
22
+ __export(meta_exports, {
23
+ TaxableAddressOriginal: () => TaxableAddress,
24
+ WebhookIdentityTypeOriginal: () => WebhookIdentityType,
25
+ getPricingPlansSettings: () => getPricingPlansSettings2,
26
+ updatePricingPlansSettings: () => updatePricingPlansSettings2
27
+ });
28
+ module.exports = __toCommonJS(meta_exports);
29
+
30
+ // src/pricing-plans-settings-v1-pricing-plans-settings-pricing-plans-settings.http.ts
31
+ var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
32
+ var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
33
+ var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
34
+ var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
35
+ var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
36
+ var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
37
+ function resolveWixPricingPlansSettingsV1PricingPlansSettingsServiceUrl(opts) {
38
+ const domainToMappings = {};
39
+ return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
40
+ }
41
+ var PACKAGE_NAME = "@wix/auto_sdk_pricing-plans_pricing-plans-settings";
42
+ function getPricingPlansSettings(payload) {
43
+ function __getPricingPlansSettings({ host }) {
44
+ const metadata = {
45
+ entityFqdn: "wix.pricing_plans.settings.v1.pricing_plans_settings",
46
+ method: "GET",
47
+ methodFqn: "wix.pricing_plans.settings.v1.PricingPlansSettingsService.GetPricingPlansSettings",
48
+ packageName: PACKAGE_NAME,
49
+ migrationOptions: {
50
+ optInTransformResponse: true
51
+ },
52
+ url: resolveWixPricingPlansSettingsV1PricingPlansSettingsServiceUrl({
53
+ protoPath: "/v1/pricing-plans-settings",
54
+ data: payload,
55
+ host
56
+ }),
57
+ params: (0, import_rest_modules.toURLSearchParams)(payload),
58
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
59
+ {
60
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
61
+ paths: [
62
+ { path: "pricingPlansSettings.createdDate" },
63
+ { path: "pricingPlansSettings.updatedDate" }
64
+ ]
65
+ }
66
+ ])
67
+ };
68
+ return metadata;
69
+ }
70
+ return __getPricingPlansSettings;
71
+ }
72
+ function updatePricingPlansSettings(payload) {
73
+ function __updatePricingPlansSettings({ host }) {
74
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
75
+ {
76
+ transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
77
+ paths: [{ path: "fieldMask" }]
78
+ },
79
+ {
80
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
81
+ paths: [
82
+ { path: "pricingPlansSettings.createdDate" },
83
+ { path: "pricingPlansSettings.updatedDate" }
84
+ ]
85
+ }
86
+ ]);
87
+ const metadata = {
88
+ entityFqdn: "wix.pricing_plans.settings.v1.pricing_plans_settings",
89
+ method: "PATCH",
90
+ methodFqn: "wix.pricing_plans.settings.v1.PricingPlansSettingsService.UpdatePricingPlansSettings",
91
+ packageName: PACKAGE_NAME,
92
+ migrationOptions: {
93
+ optInTransformResponse: true
94
+ },
95
+ url: resolveWixPricingPlansSettingsV1PricingPlansSettingsServiceUrl({
96
+ protoPath: "/v1/pricing-plans-settings",
97
+ data: serializedData,
98
+ host
99
+ }),
100
+ data: serializedData,
101
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
102
+ {
103
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
104
+ paths: [
105
+ { path: "pricingPlansSettings.createdDate" },
106
+ { path: "pricingPlansSettings.updatedDate" }
107
+ ]
108
+ }
109
+ ])
110
+ };
111
+ return metadata;
112
+ }
113
+ return __updatePricingPlansSettings;
114
+ }
115
+
116
+ // src/pricing-plans-settings-v1-pricing-plans-settings-pricing-plans-settings.types.ts
117
+ var TaxableAddress = /* @__PURE__ */ ((TaxableAddress2) => {
118
+ TaxableAddress2["UNKNOWN_TYPE"] = "UNKNOWN_TYPE";
119
+ TaxableAddress2["BILLING"] = "BILLING";
120
+ TaxableAddress2["BUSINESS"] = "BUSINESS";
121
+ return TaxableAddress2;
122
+ })(TaxableAddress || {});
123
+ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
124
+ WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
125
+ WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
126
+ WebhookIdentityType2["MEMBER"] = "MEMBER";
127
+ WebhookIdentityType2["WIX_USER"] = "WIX_USER";
128
+ WebhookIdentityType2["APP"] = "APP";
129
+ return WebhookIdentityType2;
130
+ })(WebhookIdentityType || {});
131
+
132
+ // src/pricing-plans-settings-v1-pricing-plans-settings-pricing-plans-settings.meta.ts
133
+ function getPricingPlansSettings2() {
134
+ const payload = {};
135
+ const getRequestOptions = getPricingPlansSettings(
136
+ payload
137
+ );
138
+ const getUrl = (context) => {
139
+ const { url } = getRequestOptions(context);
140
+ return url;
141
+ };
142
+ return {
143
+ getUrl,
144
+ httpMethod: "GET",
145
+ path: "/v1/pricing-plans-settings",
146
+ pathParams: {},
147
+ __requestType: null,
148
+ __originalRequestType: null,
149
+ __responseType: null,
150
+ __originalResponseType: null
151
+ };
152
+ }
153
+ function updatePricingPlansSettings2() {
154
+ const payload = {};
155
+ const getRequestOptions = updatePricingPlansSettings(
156
+ payload
157
+ );
158
+ const getUrl = (context) => {
159
+ const { url } = getRequestOptions(context);
160
+ return url;
161
+ };
162
+ return {
163
+ getUrl,
164
+ httpMethod: "PATCH",
165
+ path: "/v1/pricing-plans-settings",
166
+ pathParams: {},
167
+ __requestType: null,
168
+ __originalRequestType: null,
169
+ __responseType: null,
170
+ __originalResponseType: null
171
+ };
172
+ }
173
+ // Annotate the CommonJS export names for ESM import in node:
174
+ 0 && (module.exports = {
175
+ TaxableAddressOriginal,
176
+ WebhookIdentityTypeOriginal,
177
+ getPricingPlansSettings,
178
+ updatePricingPlansSettings
179
+ });
180
+ //# sourceMappingURL=meta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../meta.ts","../../src/pricing-plans-settings-v1-pricing-plans-settings-pricing-plans-settings.http.ts","../../src/pricing-plans-settings-v1-pricing-plans-settings-pricing-plans-settings.types.ts","../../src/pricing-plans-settings-v1-pricing-plans-settings-pricing-plans-settings.meta.ts"],"sourcesContent":["export * from './src/pricing-plans-settings-v1-pricing-plans-settings-pricing-plans-settings.meta.js';\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixPricingPlansSettingsV1PricingPlansSettingsServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {};\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_pricing-plans_pricing-plans-settings';\n\n/** Retrieves a site's Pricing Plans Settings. */\nexport function getPricingPlansSettings(\n payload: object\n): RequestOptionsFactory<any> {\n function __getPricingPlansSettings({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.pricing_plans.settings.v1.pricing_plans_settings',\n method: 'GET' as any,\n methodFqn:\n 'wix.pricing_plans.settings.v1.PricingPlansSettingsService.GetPricingPlansSettings',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixPricingPlansSettingsV1PricingPlansSettingsServiceUrl({\n protoPath: '/v1/pricing-plans-settings',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'pricingPlansSettings.createdDate' },\n { path: 'pricingPlansSettings.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getPricingPlansSettings;\n}\n\n/**\n * Updates a site's Pricing Plans settings, or creates them if none exist.\n *\n * Each time the Pricing Plans settings are updated, `revision` increments by 1.\n * The current `revision` must be passed when updating the Pricing Plans settings.\n * This ensures you're working with the latest Pricing Plans settings and prevents unintended overwrites.\n */\nexport function updatePricingPlansSettings(\n payload: object\n): RequestOptionsFactory<any> {\n function __updatePricingPlansSettings({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'pricingPlansSettings.createdDate' },\n { path: 'pricingPlansSettings.updatedDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.pricing_plans.settings.v1.pricing_plans_settings',\n method: 'PATCH' as any,\n methodFqn:\n 'wix.pricing_plans.settings.v1.PricingPlansSettingsService.UpdatePricingPlansSettings',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixPricingPlansSettingsV1PricingPlansSettingsServiceUrl({\n protoPath: '/v1/pricing-plans-settings',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'pricingPlansSettings.createdDate' },\n { path: 'pricingPlansSettings.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updatePricingPlansSettings;\n}\n","export interface PricingPlansSettings {\n /**\n * Revision number, which increments by 1 each time the PricingPlans settings are updated. To prevent conflicting changes, the current revision must be passed when updating the PricingPlans settings.\n * Ignored when creating a PricingPlans settings.\n * @readonly\n */\n revision?: string | null;\n /**\n * Date and time the PricingPlansSettings was created.\n * @readonly\n */\n createdDate?: Date | null;\n /**\n * Date and time the PricingPlansSettings was last updated.\n * @readonly\n */\n updatedDate?: Date | null;\n /** Site's taxable address, which determines how tax is calculated for pricing plans. */\n taxableAddress?: TaxableAddressWithLiterals;\n /** Data Extensions */\n extendedFields?: ExtendedFields;\n}\n\nexport enum TaxableAddress {\n UNKNOWN_TYPE = 'UNKNOWN_TYPE',\n BILLING = 'BILLING',\n BUSINESS = 'BUSINESS',\n}\n\n/** @enumType */\nexport type TaxableAddressWithLiterals =\n | TaxableAddress\n | 'UNKNOWN_TYPE'\n | 'BILLING'\n | 'BUSINESS';\n\nexport interface ExtendedFields {\n /**\n * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n * The value of each key is structured according to the schema defined when the extended fields were configured.\n *\n * You can only access fields for which you have the appropriate permissions.\n *\n * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n */\n namespaces?: Record<string, Record<string, any>>;\n}\n\nexport interface GetPricingPlansSettingsRequest {}\n\nexport interface GetPricingPlansSettingsResponse {\n /** Pricing Plans settings */\n pricingPlansSettings?: PricingPlansSettings;\n}\n\nexport interface UpdatePricingPlansSettingsRequest {\n /** PricingPlansSettings to be updated, may be partial. */\n pricingPlansSettings: PricingPlansSettings;\n}\n\nexport interface UpdatePricingPlansSettingsResponse {\n /** Updated PricingPlansSettings. */\n pricingPlansSettings?: PricingPlansSettings;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entityAsJson?: string;\n /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n restoreInfo?: RestoreInfo;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntityAsJson?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n bodyAsJson?: string;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n","import * as ambassadorWixPricingPlansSettingsV1PricingPlansSettings from './pricing-plans-settings-v1-pricing-plans-settings-pricing-plans-settings.http.js';\nimport * as ambassadorWixPricingPlansSettingsV1PricingPlansSettingsTypes from './pricing-plans-settings-v1-pricing-plans-settings-pricing-plans-settings.types.js';\nimport * as ambassadorWixPricingPlansSettingsV1PricingPlansSettingsUniversalTypes from './pricing-plans-settings-v1-pricing-plans-settings-pricing-plans-settings.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function getPricingPlansSettings(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixPricingPlansSettingsV1PricingPlansSettingsUniversalTypes.GetPricingPlansSettingsRequest,\n ambassadorWixPricingPlansSettingsV1PricingPlansSettingsTypes.GetPricingPlansSettingsRequest,\n ambassadorWixPricingPlansSettingsV1PricingPlansSettingsUniversalTypes.GetPricingPlansSettingsResponse,\n ambassadorWixPricingPlansSettingsV1PricingPlansSettingsTypes.GetPricingPlansSettingsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixPricingPlansSettingsV1PricingPlansSettings.getPricingPlansSettings(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/pricing-plans-settings',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updatePricingPlansSettings(): __PublicMethodMetaInfo<\n 'PATCH',\n {},\n ambassadorWixPricingPlansSettingsV1PricingPlansSettingsUniversalTypes.UpdatePricingPlansSettingsRequest,\n ambassadorWixPricingPlansSettingsV1PricingPlansSettingsTypes.UpdatePricingPlansSettingsRequest,\n ambassadorWixPricingPlansSettingsV1PricingPlansSettingsUniversalTypes.UpdatePricingPlansSettingsResponse,\n ambassadorWixPricingPlansSettingsV1PricingPlansSettingsTypes.UpdatePricingPlansSettingsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixPricingPlansSettingsV1PricingPlansSettings.updatePricingPlansSettings(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v1/pricing-plans-settings',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport {\n PricingPlansSettings as PricingPlansSettingsOriginal,\n TaxableAddress as TaxableAddressOriginal,\n TaxableAddressWithLiterals as TaxableAddressWithLiteralsOriginal,\n ExtendedFields as ExtendedFieldsOriginal,\n GetPricingPlansSettingsRequest as GetPricingPlansSettingsRequestOriginal,\n GetPricingPlansSettingsResponse as GetPricingPlansSettingsResponseOriginal,\n UpdatePricingPlansSettingsRequest as UpdatePricingPlansSettingsRequestOriginal,\n UpdatePricingPlansSettingsResponse as UpdatePricingPlansSettingsResponseOriginal,\n DomainEvent as DomainEventOriginal,\n DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n EntityCreatedEvent as EntityCreatedEventOriginal,\n RestoreInfo as RestoreInfoOriginal,\n EntityUpdatedEvent as EntityUpdatedEventOriginal,\n EntityDeletedEvent as EntityDeletedEventOriginal,\n ActionEvent as ActionEventOriginal,\n MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n} from './pricing-plans-settings-v1-pricing-plans-settings-pricing-plans-settings.types.js';\n"],"mappings":"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","names":["getPricingPlansSettings","updatePricingPlansSettings","import_timestamp","import_rest_modules","payload","TaxableAddress","WebhookIdentityType","getPricingPlansSettings","updatePricingPlansSettings"]}
@@ -0,0 +1,190 @@
1
+ interface PricingPlansSettings {
2
+ /**
3
+ * Revision number, which increments by 1 each time the PricingPlans settings are updated. To prevent conflicting changes, the current revision must be passed when updating the PricingPlans settings.
4
+ * Ignored when creating a PricingPlans settings.
5
+ * @readonly
6
+ */
7
+ revision?: string | null;
8
+ /**
9
+ * Date and time the PricingPlansSettings was created.
10
+ * @readonly
11
+ */
12
+ _createdDate?: Date | null;
13
+ /**
14
+ * Date and time the PricingPlansSettings was last updated.
15
+ * @readonly
16
+ */
17
+ _updatedDate?: Date | null;
18
+ /** Site's taxable address, which determines how tax is calculated for pricing plans. */
19
+ taxableAddress?: TaxableAddressWithLiterals;
20
+ /** Data Extensions */
21
+ extendedFields?: ExtendedFields;
22
+ }
23
+ declare enum TaxableAddress {
24
+ UNKNOWN_TYPE = "UNKNOWN_TYPE",
25
+ BILLING = "BILLING",
26
+ BUSINESS = "BUSINESS"
27
+ }
28
+ /** @enumType */
29
+ type TaxableAddressWithLiterals = TaxableAddress | 'UNKNOWN_TYPE' | 'BILLING' | 'BUSINESS';
30
+ interface ExtendedFields {
31
+ /**
32
+ * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
33
+ * The value of each key is structured according to the schema defined when the extended fields were configured.
34
+ *
35
+ * You can only access fields for which you have the appropriate permissions.
36
+ *
37
+ * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
38
+ */
39
+ namespaces?: Record<string, Record<string, any>>;
40
+ }
41
+ interface GetPricingPlansSettingsRequest {
42
+ }
43
+ interface GetPricingPlansSettingsResponse {
44
+ /** Pricing Plans settings */
45
+ pricingPlansSettings?: PricingPlansSettings;
46
+ }
47
+ interface UpdatePricingPlansSettingsRequest {
48
+ /** PricingPlansSettings to be updated, may be partial. */
49
+ pricingPlansSettings: PricingPlansSettings;
50
+ }
51
+ interface UpdatePricingPlansSettingsResponse {
52
+ /** Updated PricingPlansSettings. */
53
+ pricingPlansSettings?: PricingPlansSettings;
54
+ }
55
+ interface DomainEvent extends DomainEventBodyOneOf {
56
+ createdEvent?: EntityCreatedEvent;
57
+ updatedEvent?: EntityUpdatedEvent;
58
+ deletedEvent?: EntityDeletedEvent;
59
+ actionEvent?: ActionEvent;
60
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
61
+ _id?: string;
62
+ /**
63
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
64
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
65
+ */
66
+ entityFqdn?: string;
67
+ /**
68
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
69
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
70
+ */
71
+ slug?: string;
72
+ /** ID of the entity associated with the event. */
73
+ entityId?: string;
74
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
75
+ eventTime?: Date | null;
76
+ /**
77
+ * Whether the event was triggered as a result of a privacy regulation application
78
+ * (for example, GDPR).
79
+ */
80
+ triggeredByAnonymizeRequest?: boolean | null;
81
+ /** If present, indicates the action that triggered the event. */
82
+ originatedFrom?: string | null;
83
+ /**
84
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
85
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
86
+ */
87
+ entityEventSequence?: string | null;
88
+ }
89
+ /** @oneof */
90
+ interface DomainEventBodyOneOf {
91
+ createdEvent?: EntityCreatedEvent;
92
+ updatedEvent?: EntityUpdatedEvent;
93
+ deletedEvent?: EntityDeletedEvent;
94
+ actionEvent?: ActionEvent;
95
+ }
96
+ interface EntityCreatedEvent {
97
+ entity?: string;
98
+ }
99
+ interface RestoreInfo {
100
+ deletedDate?: Date | null;
101
+ }
102
+ interface EntityUpdatedEvent {
103
+ /**
104
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
105
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
106
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
107
+ */
108
+ currentEntity?: string;
109
+ }
110
+ interface EntityDeletedEvent {
111
+ /** Entity that was deleted. */
112
+ deletedEntity?: string | null;
113
+ }
114
+ interface ActionEvent {
115
+ body?: string;
116
+ }
117
+ interface MessageEnvelope {
118
+ /**
119
+ * App instance ID.
120
+ * @format GUID
121
+ */
122
+ instanceId?: string | null;
123
+ /**
124
+ * Event type.
125
+ * @maxLength 150
126
+ */
127
+ eventType?: string;
128
+ /** The identification type and identity data. */
129
+ identity?: IdentificationData;
130
+ /** Stringify payload. */
131
+ data?: string;
132
+ }
133
+ interface IdentificationData extends IdentificationDataIdOneOf {
134
+ /**
135
+ * ID of a site visitor that has not logged in to the site.
136
+ * @format GUID
137
+ */
138
+ anonymousVisitorId?: string;
139
+ /**
140
+ * ID of a site visitor that has logged in to the site.
141
+ * @format GUID
142
+ */
143
+ memberId?: string;
144
+ /**
145
+ * ID of a Wix user (site owner, contributor, etc.).
146
+ * @format GUID
147
+ */
148
+ wixUserId?: string;
149
+ /**
150
+ * ID of an app.
151
+ * @format GUID
152
+ */
153
+ appId?: string;
154
+ /** @readonly */
155
+ identityType?: WebhookIdentityTypeWithLiterals;
156
+ }
157
+ /** @oneof */
158
+ interface IdentificationDataIdOneOf {
159
+ /**
160
+ * ID of a site visitor that has not logged in to the site.
161
+ * @format GUID
162
+ */
163
+ anonymousVisitorId?: string;
164
+ /**
165
+ * ID of a site visitor that has logged in to the site.
166
+ * @format GUID
167
+ */
168
+ memberId?: string;
169
+ /**
170
+ * ID of a Wix user (site owner, contributor, etc.).
171
+ * @format GUID
172
+ */
173
+ wixUserId?: string;
174
+ /**
175
+ * ID of an app.
176
+ * @format GUID
177
+ */
178
+ appId?: string;
179
+ }
180
+ declare enum WebhookIdentityType {
181
+ UNKNOWN = "UNKNOWN",
182
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
183
+ MEMBER = "MEMBER",
184
+ WIX_USER = "WIX_USER",
185
+ APP = "APP"
186
+ }
187
+ /** @enumType */
188
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
189
+
190
+ export { type ActionEvent, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type ExtendedFields, type GetPricingPlansSettingsRequest, type GetPricingPlansSettingsResponse, type IdentificationData, type IdentificationDataIdOneOf, type MessageEnvelope, type PricingPlansSettings, type RestoreInfo, TaxableAddress, type TaxableAddressWithLiterals, type UpdatePricingPlansSettingsRequest, type UpdatePricingPlansSettingsResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals };