@sellout/models 0.0.359 → 0.0.360
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/.dist/graphql/mutations/connectStripe.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/connectStripe.mutation.js +10 -0
- package/.dist/graphql/mutations/connectStripe.mutation.js.map +1 -0
- package/.dist/graphql/mutations/resetStripeConnection.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/resetStripeConnection.mutation.js +10 -0
- package/.dist/graphql/mutations/resetStripeConnection.mutation.js.map +1 -0
- package/.dist/sellout-proto.js +1387 -315
- package/package.json +3 -3
- package/src/graphql/mutations/connectStripe.mutation.ts +9 -0
- package/src/graphql/mutations/resetStripeConnection.mutation.ts +9 -0
- package/src/proto/organization.proto +13 -0
- package/src/proto/stripe.proto +16 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sellout/models",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.360",
|
|
4
4
|
"description": "Sellout.io models",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@apollo/client": "^3.9.6",
|
|
20
20
|
"@hapi/joi": "^17.1.1",
|
|
21
|
-
"@sellout/utils": "^0.0.
|
|
21
|
+
"@sellout/utils": "^0.0.360",
|
|
22
22
|
"@types/hapi__joi": "^16.0.1",
|
|
23
23
|
"@types/shortid": "^0.0.29",
|
|
24
24
|
"@types/zen-observable": "^0.8.7",
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"protobufjs": "^6.11.2",
|
|
33
33
|
"typescript": "^4.9.5"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "8de0befeeca4d24ab3f11a644d0a3adb2be64b6d"
|
|
36
36
|
}
|
|
@@ -133,6 +133,17 @@ message UpdateOrgEmailWebhookResponse {
|
|
|
133
133
|
repeated Error errors = 1;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
+
message RemoveOrganizationStripeIdRequest {
|
|
137
|
+
string spanContext = 0;
|
|
138
|
+
string orgId = 1;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
message RemoveOrganizationStripeIdResponse {
|
|
142
|
+
StatusCode status = 0;
|
|
143
|
+
repeated Error errors = 1;
|
|
144
|
+
Organization organization = 2;
|
|
145
|
+
}
|
|
146
|
+
|
|
136
147
|
service OrganizationService {
|
|
137
148
|
// Create
|
|
138
149
|
rpc createOrganization(CreateOrganizationRequest) returns (CreateOrganizationResponse) {}
|
|
@@ -147,4 +158,6 @@ service OrganizationService {
|
|
|
147
158
|
rpc findOrganization(FindOrganizationRequest) returns (FindOrganizationResponse) {}
|
|
148
159
|
// Delete
|
|
149
160
|
rpc deleteOrganization(DeleteOrganizationRequest) returns (DeleteOrganizationResponse) {}
|
|
161
|
+
// Remove Stripe ID
|
|
162
|
+
rpc removeOrganizationStripeId(RemoveOrganizationStripeIdRequest) returns (RemoveOrganizationStripeIdResponse) {}
|
|
150
163
|
}
|
package/src/proto/stripe.proto
CHANGED
|
@@ -383,6 +383,20 @@ message BillingAddress {
|
|
|
383
383
|
string country = 5;
|
|
384
384
|
}
|
|
385
385
|
|
|
386
|
+
/***************************************************************************************
|
|
387
|
+
Reset Stripe Connection
|
|
388
|
+
****************************************************************************************/
|
|
389
|
+
|
|
390
|
+
message ResetStripeConnectionRequest {
|
|
391
|
+
string spanContext = 0;
|
|
392
|
+
string orgId = 1;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
message ResetStripeConnectionResponse {
|
|
396
|
+
StatusCode status = 0;
|
|
397
|
+
repeated Error errors = 1;
|
|
398
|
+
}
|
|
399
|
+
|
|
386
400
|
/***************************************************************************************
|
|
387
401
|
RPC
|
|
388
402
|
****************************************************************************************/
|
|
@@ -417,5 +431,6 @@ service StripeService {
|
|
|
417
431
|
rpc createStripeTerminalConnectionToken(CreateStripeTerminalConnectionTokenRequest) returns (CreateStripeTerminalConnectionTokenResponse) {}
|
|
418
432
|
rpc createStripeLocationId(CreateStripeTerminalConnectionTokenRequest) returns (CreateStripeLocationIdResponse) {}
|
|
419
433
|
rpc stripePublishKey(RetrieveStripeChargeRequest) returns (StripePublishKeyByResponse) {}
|
|
420
|
-
|
|
434
|
+
// Reset Stripe Connection
|
|
435
|
+
rpc resetStripeConnection(ResetStripeConnectionRequest) returns (ResetStripeConnectionResponse) {}
|
|
421
436
|
}
|