@wix/events 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/src/events-v2-policy.types.d.ts +1 -1
- package/build/cjs/src/events-v2-policy.universal.d.ts +3 -3
- package/build/cjs/src/events-v2-policy.universal.js +1 -1
- package/build/es/src/events-v2-policy.types.d.ts +1 -1
- package/build/es/src/events-v2-policy.universal.d.ts +3 -3
- package/build/es/src/events-v2-policy.universal.js +1 -1
- package/package.json +4 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** Each event can have up to 3 policies - free-text that define terms & conditions, refunds & exchanges and/or other policies, as relevant. */
|
|
2
2
|
export interface Policy {
|
|
3
3
|
/**
|
|
4
|
-
* Policy ID (generated automatically)
|
|
4
|
+
* Policy ID. (generated automatically)
|
|
5
5
|
* @readonly
|
|
6
6
|
*/
|
|
7
7
|
id?: string | null;
|
|
@@ -7,7 +7,7 @@ export declare const __debug: {
|
|
|
7
7
|
/** Each event can have up to 3 policies - free-text that define terms & conditions, refunds & exchanges and/or other policies, as relevant. */
|
|
8
8
|
export interface Policy {
|
|
9
9
|
/**
|
|
10
|
-
* Policy ID (generated automatically)
|
|
10
|
+
* Policy ID. (generated automatically)
|
|
11
11
|
* @readonly
|
|
12
12
|
*/
|
|
13
13
|
_id?: string | null;
|
|
@@ -387,7 +387,7 @@ export interface Empty {
|
|
|
387
387
|
export declare function createPolicy(policy: Policy): Promise<CreatePolicyResponse>;
|
|
388
388
|
/**
|
|
389
389
|
* Updates a policy.
|
|
390
|
-
* @param _id - Policy ID (generated automatically)
|
|
390
|
+
* @param _id - Policy ID. (generated automatically)
|
|
391
391
|
* @public
|
|
392
392
|
* @requiredField _id
|
|
393
393
|
* @requiredField policy
|
|
@@ -398,7 +398,7 @@ export declare function createPolicy(policy: Policy): Promise<CreatePolicyRespon
|
|
|
398
398
|
export declare function updatePolicy(_id: string | null, policy: UpdatePolicy): Promise<UpdatePolicyResponse>;
|
|
399
399
|
export interface UpdatePolicy {
|
|
400
400
|
/**
|
|
401
|
-
* Policy ID (generated automatically)
|
|
401
|
+
* Policy ID. (generated automatically)
|
|
402
402
|
* @readonly
|
|
403
403
|
*/
|
|
404
404
|
_id?: string | null;
|
|
@@ -162,7 +162,7 @@ function createPolicy(policy) {
|
|
|
162
162
|
exports.createPolicy = createPolicy;
|
|
163
163
|
/**
|
|
164
164
|
* Updates a policy.
|
|
165
|
-
* @param _id - Policy ID (generated automatically)
|
|
165
|
+
* @param _id - Policy ID. (generated automatically)
|
|
166
166
|
* @public
|
|
167
167
|
* @requiredField _id
|
|
168
168
|
* @requiredField policy
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** Each event can have up to 3 policies - free-text that define terms & conditions, refunds & exchanges and/or other policies, as relevant. */
|
|
2
2
|
export interface Policy {
|
|
3
3
|
/**
|
|
4
|
-
* Policy ID (generated automatically)
|
|
4
|
+
* Policy ID. (generated automatically)
|
|
5
5
|
* @readonly
|
|
6
6
|
*/
|
|
7
7
|
id?: string | null;
|
|
@@ -7,7 +7,7 @@ export declare const __debug: {
|
|
|
7
7
|
/** Each event can have up to 3 policies - free-text that define terms & conditions, refunds & exchanges and/or other policies, as relevant. */
|
|
8
8
|
export interface Policy {
|
|
9
9
|
/**
|
|
10
|
-
* Policy ID (generated automatically)
|
|
10
|
+
* Policy ID. (generated automatically)
|
|
11
11
|
* @readonly
|
|
12
12
|
*/
|
|
13
13
|
_id?: string | null;
|
|
@@ -387,7 +387,7 @@ export interface Empty {
|
|
|
387
387
|
export declare function createPolicy(policy: Policy): Promise<CreatePolicyResponse>;
|
|
388
388
|
/**
|
|
389
389
|
* Updates a policy.
|
|
390
|
-
* @param _id - Policy ID (generated automatically)
|
|
390
|
+
* @param _id - Policy ID. (generated automatically)
|
|
391
391
|
* @public
|
|
392
392
|
* @requiredField _id
|
|
393
393
|
* @requiredField policy
|
|
@@ -398,7 +398,7 @@ export declare function createPolicy(policy: Policy): Promise<CreatePolicyRespon
|
|
|
398
398
|
export declare function updatePolicy(_id: string | null, policy: UpdatePolicy): Promise<UpdatePolicyResponse>;
|
|
399
399
|
export interface UpdatePolicy {
|
|
400
400
|
/**
|
|
401
|
-
* Policy ID (generated automatically)
|
|
401
|
+
* Policy ID. (generated automatically)
|
|
402
402
|
* @readonly
|
|
403
403
|
*/
|
|
404
404
|
_id?: string | null;
|
|
@@ -139,7 +139,7 @@ export function createPolicy(policy) {
|
|
|
139
139
|
}
|
|
140
140
|
/**
|
|
141
141
|
* Updates a policy.
|
|
142
|
-
* @param _id - Policy ID (generated automatically)
|
|
142
|
+
* @param _id - Policy ID. (generated automatically)
|
|
143
143
|
* @public
|
|
144
144
|
* @requiredField _id
|
|
145
145
|
* @requiredField policy
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/events",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
"frontend/package.json"
|
|
15
15
|
],
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@wix/metro-runtime": "^1.
|
|
17
|
+
"@wix/metro-runtime": "^1.1451.0",
|
|
18
18
|
"@wix/sdk-types": "^1.0.0",
|
|
19
|
-
"@wix/motion-edm-autogen-query-wrapper": "^1.0.
|
|
19
|
+
"@wix/motion-edm-autogen-query-wrapper": "^1.0.9"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@wix/typescript-to-service-json": "^1.0.0"
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"groupId": "com.wixpress.public-sdk-autogen"
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
|
-
"falconPackageHash": "
|
|
36
|
+
"falconPackageHash": "36474fa503f61006941f4b6f06cc61d3bd265a5da799c481ba376da3"
|
|
37
37
|
}
|