@inverted-tech/fragments 0.11.3 → 0.12.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 (54) hide show
  1. package/dist/esm/Authorization/Payment/SharedTypes_pb.js +17 -5
  2. package/dist/esm/Authorization/Payment/Stripe/StripeInterface_pb.js +9 -101
  3. package/dist/esm/Authorization/Payment/Stripe/connect/StripeInterface_connect.js +0 -2
  4. package/dist/esm/Authorization/Payment/Tax/BackupInterface_pb.js +73 -0
  5. package/dist/esm/Authorization/Payment/Tax/TaxRecords_pb.js +13 -0
  6. package/dist/esm/Authorization/Payment/Tax/connect/BackupInterface_connect.js +37 -0
  7. package/dist/esm/Authorization/Payment/Tax/connect/index.js +2 -0
  8. package/dist/esm/Authorization/Payment/Tax/index.js +4 -0
  9. package/dist/esm/Authorization/Payment/index.js +1 -0
  10. package/dist/esm/Content/Content_pb.js +36 -31
  11. package/dist/esm/Content/connect/Content_connect.js +9 -0
  12. package/dist/esm/Merch/AdminMerchInterface_pb.js +44 -0
  13. package/dist/esm/Merch/GenericMerchRecords_pb.js +30 -0
  14. package/dist/esm/Merch/MerchInterface_pb.js +40 -0
  15. package/dist/esm/Merch/MerchSettings_pb.js +25 -0
  16. package/dist/esm/Merch/SharedMerchTypes_pb.js +73 -0
  17. package/dist/esm/Merch/Shopify/ShopifySettings_pb.js +29 -0
  18. package/dist/esm/Merch/Shopify/index.js +2 -0
  19. package/dist/esm/Merch/connect/AdminMerchInterface_connect.js +40 -0
  20. package/dist/esm/Merch/connect/MerchInterface_connect.js +31 -0
  21. package/dist/esm/Merch/connect/index.js +3 -0
  22. package/dist/esm/Merch/index.js +8 -0
  23. package/dist/esm/Settings/SettingsInterface_pb.js +22 -1
  24. package/dist/esm/Settings/SettingsRecord_pb.js +2 -1
  25. package/dist/esm/Settings/connect/SettingsInterface_connect.js +18 -0
  26. package/dist/esm/google/api/http_pb.js +1 -1
  27. package/dist/esm/index.js +1 -0
  28. package/dist/protos/Authorization/Payment/SharedTypes_pb.d.ts +16 -4
  29. package/dist/protos/Authorization/Payment/Stripe/StripeInterface_pb.d.ts +15 -287
  30. package/dist/protos/Authorization/Payment/Stripe/connect/StripeInterface_connect.d.ts +0 -2
  31. package/dist/protos/Authorization/Payment/Tax/BackupInterface_pb.d.ts +199 -0
  32. package/dist/protos/Authorization/Payment/Tax/TaxRecords_pb.d.ts +42 -0
  33. package/dist/protos/Authorization/Payment/Tax/connect/BackupInterface_connect.d.ts +32 -0
  34. package/dist/protos/Authorization/Payment/Tax/connect/index.d.ts +1 -0
  35. package/dist/protos/Authorization/Payment/Tax/index.d.ts +3 -0
  36. package/dist/protos/Authorization/Payment/index.d.ts +1 -0
  37. package/dist/protos/Content/Content_pb.d.ts +23 -1
  38. package/dist/protos/Content/connect/Content_connect.d.ts +9 -0
  39. package/dist/protos/Merch/AdminMerchInterface_pb.d.ts +115 -0
  40. package/dist/protos/Merch/GenericMerchRecords_pb.d.ts +180 -0
  41. package/dist/protos/Merch/MerchInterface_pb.d.ts +143 -0
  42. package/dist/protos/Merch/MerchSettings_pb.d.ts +49 -0
  43. package/dist/protos/Merch/SharedMerchTypes_pb.d.ts +118 -0
  44. package/dist/protos/Merch/Shopify/ShopifySettings_pb.d.ts +73 -0
  45. package/dist/protos/Merch/Shopify/index.d.ts +1 -0
  46. package/dist/protos/Merch/connect/AdminMerchInterface_connect.d.ts +35 -0
  47. package/dist/protos/Merch/connect/MerchInterface_connect.d.ts +26 -0
  48. package/dist/protos/Merch/connect/index.d.ts +2 -0
  49. package/dist/protos/Merch/index.d.ts +7 -0
  50. package/dist/protos/Settings/SettingsInterface_pb.d.ts +73 -0
  51. package/dist/protos/Settings/SettingsRecord_pb.d.ts +13 -0
  52. package/dist/protos/Settings/connect/SettingsInterface_connect.d.ts +18 -0
  53. package/dist/protos/index.d.ts +1 -0
  54. package/package.json +13 -170
@@ -1,244 +1,10 @@
1
1
  import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
- import type { GenericSubscriptionFullRecord, GenericSubscriptionRecord } from "../DataRecords_pb";
3
- import type { ProductList } from "./ProductRecord_pb";
2
+ import type { GenericSubscriptionRecord } from "../DataRecords_pb";
4
3
  import type { Message } from "@bufbuild/protobuf";
5
4
  /**
6
5
  * Describes the file Protos/IT/WebServices/Fragments/Authorization/Payment/Stripe/StripeInterface.proto.
7
6
  */
8
7
  export declare const file_Protos_IT_WebServices_Fragments_Authorization_Payment_Stripe_StripeInterface: GenFile;
9
- /**
10
- * @generated from message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeCheckOtherSubscriptionRequest
11
- */
12
- export type StripeCheckOtherSubscriptionRequest = Message<"IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeCheckOtherSubscriptionRequest"> & {
13
- /**
14
- * @generated from field: string UserID = 1;
15
- */
16
- UserID: string;
17
- };
18
- /**
19
- * Describes the message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeCheckOtherSubscriptionRequest.
20
- * Use `create(StripeCheckOtherSubscriptionRequestSchema)` to create a new message.
21
- */
22
- export declare const StripeCheckOtherSubscriptionRequestSchema: GenMessage<StripeCheckOtherSubscriptionRequest>;
23
- /**
24
- * @generated from message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeCheckOtherSubscriptionResponse
25
- */
26
- export type StripeCheckOtherSubscriptionResponse = Message<"IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeCheckOtherSubscriptionResponse"> & {
27
- /**
28
- * @generated from field: repeated IT.WebServices.Fragments.Authorization.Payment.GenericSubscriptionFullRecord Records = 1;
29
- */
30
- Records: GenericSubscriptionFullRecord[];
31
- /**
32
- * @generated from field: string Error = 2;
33
- */
34
- Error: string;
35
- };
36
- /**
37
- * Describes the message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeCheckOtherSubscriptionResponse.
38
- * Use `create(StripeCheckOtherSubscriptionResponseSchema)` to create a new message.
39
- */
40
- export declare const StripeCheckOtherSubscriptionResponseSchema: GenMessage<StripeCheckOtherSubscriptionResponse>;
41
- /**
42
- * @generated from message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeCheckOwnSubscriptionRequest
43
- */
44
- export type StripeCheckOwnSubscriptionRequest = Message<"IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeCheckOwnSubscriptionRequest"> & {};
45
- /**
46
- * Describes the message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeCheckOwnSubscriptionRequest.
47
- * Use `create(StripeCheckOwnSubscriptionRequestSchema)` to create a new message.
48
- */
49
- export declare const StripeCheckOwnSubscriptionRequestSchema: GenMessage<StripeCheckOwnSubscriptionRequest>;
50
- /**
51
- * @generated from message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeCheckOwnSubscriptionResponse
52
- */
53
- export type StripeCheckOwnSubscriptionResponse = Message<"IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeCheckOwnSubscriptionResponse"> & {
54
- /**
55
- * @generated from field: repeated IT.WebServices.Fragments.Authorization.Payment.GenericSubscriptionFullRecord Records = 1;
56
- */
57
- Records: GenericSubscriptionFullRecord[];
58
- /**
59
- * @generated from field: string Error = 2;
60
- */
61
- Error: string;
62
- };
63
- /**
64
- * Describes the message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeCheckOwnSubscriptionResponse.
65
- * Use `create(StripeCheckOwnSubscriptionResponseSchema)` to create a new message.
66
- */
67
- export declare const StripeCheckOwnSubscriptionResponseSchema: GenMessage<StripeCheckOwnSubscriptionResponse>;
68
- /**
69
- * @generated from message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeCheckoutSessionRequest
70
- */
71
- export type StripeCheckoutSessionRequest = Message<"IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeCheckoutSessionRequest"> & {
72
- /**
73
- * @generated from field: string PriceID = 1;
74
- */
75
- PriceID: string;
76
- };
77
- /**
78
- * Describes the message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeCheckoutSessionRequest.
79
- * Use `create(StripeCheckoutSessionRequestSchema)` to create a new message.
80
- */
81
- export declare const StripeCheckoutSessionRequestSchema: GenMessage<StripeCheckoutSessionRequest>;
82
- /**
83
- * @generated from message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeCheckoutSessionResponse
84
- */
85
- export type StripeCheckoutSessionResponse = Message<"IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeCheckoutSessionResponse"> & {
86
- /**
87
- * @generated from field: string SessionUrl = 1;
88
- */
89
- SessionUrl: string;
90
- /**
91
- * @generated from field: string Error = 2;
92
- */
93
- Error: string;
94
- };
95
- /**
96
- * Describes the message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeCheckoutSessionResponse.
97
- * Use `create(StripeCheckoutSessionResponseSchema)` to create a new message.
98
- */
99
- export declare const StripeCheckoutSessionResponseSchema: GenMessage<StripeCheckoutSessionResponse>;
100
- /**
101
- * @generated from message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeCreateBillingPortalRequest
102
- */
103
- export type StripeCreateBillingPortalRequest = Message<"IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeCreateBillingPortalRequest"> & {
104
- /**
105
- * @generated from field: string CustomerID = 1;
106
- */
107
- CustomerID: string;
108
- };
109
- /**
110
- * Describes the message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeCreateBillingPortalRequest.
111
- * Use `create(StripeCreateBillingPortalRequestSchema)` to create a new message.
112
- */
113
- export declare const StripeCreateBillingPortalRequestSchema: GenMessage<StripeCreateBillingPortalRequest>;
114
- /**
115
- * @generated from message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeCreateBillingPortalResponse
116
- */
117
- export type StripeCreateBillingPortalResponse = Message<"IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeCreateBillingPortalResponse"> & {
118
- /**
119
- * @generated from field: string Url = 1;
120
- */
121
- Url: string;
122
- /**
123
- * @generated from field: string Error = 2;
124
- */
125
- Error: string;
126
- };
127
- /**
128
- * Describes the message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeCreateBillingPortalResponse.
129
- * Use `create(StripeCreateBillingPortalResponseSchema)` to create a new message.
130
- */
131
- export declare const StripeCreateBillingPortalResponseSchema: GenMessage<StripeCreateBillingPortalResponse>;
132
- /**
133
- * @generated from message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeFinishOwnSubscriptionRequest
134
- */
135
- export type StripeFinishOwnSubscriptionRequest = Message<"IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeFinishOwnSubscriptionRequest"> & {
136
- /**
137
- * @generated from field: string ProcessorSessionID = 1;
138
- */
139
- ProcessorSessionID: string;
140
- };
141
- /**
142
- * Describes the message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeFinishOwnSubscriptionRequest.
143
- * Use `create(StripeFinishOwnSubscriptionRequestSchema)` to create a new message.
144
- */
145
- export declare const StripeFinishOwnSubscriptionRequestSchema: GenMessage<StripeFinishOwnSubscriptionRequest>;
146
- /**
147
- * @generated from message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeFinishOwnSubscriptionResponse
148
- */
149
- export type StripeFinishOwnSubscriptionResponse = Message<"IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeFinishOwnSubscriptionResponse"> & {
150
- /**
151
- * @generated from field: IT.WebServices.Fragments.Authorization.Payment.GenericSubscriptionRecord Record = 1;
152
- */
153
- Record?: GenericSubscriptionRecord;
154
- /**
155
- * @generated from field: string Error = 2;
156
- */
157
- Error: string;
158
- };
159
- /**
160
- * Describes the message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeFinishOwnSubscriptionResponse.
161
- * Use `create(StripeFinishOwnSubscriptionResponseSchema)` to create a new message.
162
- */
163
- export declare const StripeFinishOwnSubscriptionResponseSchema: GenMessage<StripeFinishOwnSubscriptionResponse>;
164
- /**
165
- * @generated from message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeGetAccountDetailsRequest
166
- */
167
- export type StripeGetAccountDetailsRequest = Message<"IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeGetAccountDetailsRequest"> & {};
168
- /**
169
- * Describes the message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeGetAccountDetailsRequest.
170
- * Use `create(StripeGetAccountDetailsRequestSchema)` to create a new message.
171
- */
172
- export declare const StripeGetAccountDetailsRequestSchema: GenMessage<StripeGetAccountDetailsRequest>;
173
- /**
174
- * @generated from message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeGetAccountDetailsResponse
175
- */
176
- export type StripeGetAccountDetailsResponse = Message<"IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeGetAccountDetailsResponse"> & {
177
- /**
178
- * @generated from field: IT.WebServices.Fragments.Authorization.Payment.Stripe.ProductList Products = 1;
179
- */
180
- Products?: ProductList;
181
- /**
182
- * @generated from field: string ClientID = 2;
183
- */
184
- ClientID: string;
185
- };
186
- /**
187
- * Describes the message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeGetAccountDetailsResponse.
188
- * Use `create(StripeGetAccountDetailsResponseSchema)` to create a new message.
189
- */
190
- export declare const StripeGetAccountDetailsResponseSchema: GenMessage<StripeGetAccountDetailsResponse>;
191
- /**
192
- * @generated from message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeGetOtherSubscriptionRecordsRequest
193
- */
194
- export type StripeGetOtherSubscriptionRecordsRequest = Message<"IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeGetOtherSubscriptionRecordsRequest"> & {
195
- /**
196
- * @generated from field: string UserID = 1;
197
- */
198
- UserID: string;
199
- };
200
- /**
201
- * Describes the message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeGetOtherSubscriptionRecordsRequest.
202
- * Use `create(StripeGetOtherSubscriptionRecordsRequestSchema)` to create a new message.
203
- */
204
- export declare const StripeGetOtherSubscriptionRecordsRequestSchema: GenMessage<StripeGetOtherSubscriptionRecordsRequest>;
205
- /**
206
- * @generated from message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeGetOtherSubscriptionRecordsResponse
207
- */
208
- export type StripeGetOtherSubscriptionRecordsResponse = Message<"IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeGetOtherSubscriptionRecordsResponse"> & {
209
- /**
210
- * @generated from field: repeated IT.WebServices.Fragments.Authorization.Payment.GenericSubscriptionFullRecord Records = 1;
211
- */
212
- Records: GenericSubscriptionFullRecord[];
213
- };
214
- /**
215
- * Describes the message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeGetOtherSubscriptionRecordsResponse.
216
- * Use `create(StripeGetOtherSubscriptionRecordsResponseSchema)` to create a new message.
217
- */
218
- export declare const StripeGetOtherSubscriptionRecordsResponseSchema: GenMessage<StripeGetOtherSubscriptionRecordsResponse>;
219
- /**
220
- * @generated from message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeGetOwnSubscriptionRecordsRequest
221
- */
222
- export type StripeGetOwnSubscriptionRecordsRequest = Message<"IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeGetOwnSubscriptionRecordsRequest"> & {};
223
- /**
224
- * Describes the message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeGetOwnSubscriptionRecordsRequest.
225
- * Use `create(StripeGetOwnSubscriptionRecordsRequestSchema)` to create a new message.
226
- */
227
- export declare const StripeGetOwnSubscriptionRecordsRequestSchema: GenMessage<StripeGetOwnSubscriptionRecordsRequest>;
228
- /**
229
- * @generated from message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeGetOwnSubscriptionRecordsResponse
230
- */
231
- export type StripeGetOwnSubscriptionRecordsResponse = Message<"IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeGetOwnSubscriptionRecordsResponse"> & {
232
- /**
233
- * @generated from field: repeated IT.WebServices.Fragments.Authorization.Payment.GenericSubscriptionRecord Records = 1;
234
- */
235
- Records: GenericSubscriptionRecord[];
236
- };
237
- /**
238
- * Describes the message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeGetOwnSubscriptionRecordsResponse.
239
- * Use `create(StripeGetOwnSubscriptionRecordsResponseSchema)` to create a new message.
240
- */
241
- export declare const StripeGetOwnSubscriptionRecordsResponseSchema: GenMessage<StripeGetOwnSubscriptionRecordsResponse>;
242
8
  /**
243
9
  * @generated from message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeEnsureOneTimeProductRequest
244
10
  */
@@ -280,76 +46,38 @@ export type StripeEnsureOneTimeProductResponse = Message<"IT.WebServices.Fragmen
280
46
  */
281
47
  export declare const StripeEnsureOneTimeProductResponseSchema: GenMessage<StripeEnsureOneTimeProductResponse>;
282
48
  /**
283
- * @generated from message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeReconcileOtherSubscriptionRequest
284
- */
285
- export type StripeReconcileOtherSubscriptionRequest = Message<"IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeReconcileOtherSubscriptionRequest"> & {
286
- /**
287
- * @generated from field: string UserID = 1;
288
- */
289
- UserID: string;
290
- /**
291
- * @generated from field: string SubscriptionID = 2;
292
- */
293
- SubscriptionID: string;
294
- };
295
- /**
296
- * Describes the message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeReconcileOtherSubscriptionRequest.
297
- * Use `create(StripeReconcileOtherSubscriptionRequestSchema)` to create a new message.
298
- */
299
- export declare const StripeReconcileOtherSubscriptionRequestSchema: GenMessage<StripeReconcileOtherSubscriptionRequest>;
300
- /**
301
- * @generated from message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeReconcileOtherSubscriptionResponse
302
- */
303
- export type StripeReconcileOtherSubscriptionResponse = Message<"IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeReconcileOtherSubscriptionResponse"> & {
304
- /**
305
- * @generated from field: IT.WebServices.Fragments.Authorization.Payment.GenericSubscriptionFullRecord Record = 1;
306
- */
307
- Record?: GenericSubscriptionFullRecord;
308
- /**
309
- * @generated from field: string Error = 2;
310
- */
311
- Error: string;
312
- };
313
- /**
314
- * Describes the message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeReconcileOtherSubscriptionResponse.
315
- * Use `create(StripeReconcileOtherSubscriptionResponseSchema)` to create a new message.
316
- */
317
- export declare const StripeReconcileOtherSubscriptionResponseSchema: GenMessage<StripeReconcileOtherSubscriptionResponse>;
318
- /**
319
- * @generated from message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeReconcileOwnSubscriptionRequest
49
+ * @generated from message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeFinishOwnSubscriptionRequest
320
50
  */
321
- export type StripeReconcileOwnSubscriptionRequest = Message<"IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeReconcileOwnSubscriptionRequest"> & {
51
+ export type StripeFinishOwnSubscriptionRequest = Message<"IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeFinishOwnSubscriptionRequest"> & {
322
52
  /**
323
- * @generated from field: string SubscriptionID = 1;
53
+ * @generated from field: string ProcessorSessionID = 1;
324
54
  */
325
- SubscriptionID: string;
55
+ ProcessorSessionID: string;
326
56
  };
327
57
  /**
328
- * Describes the message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeReconcileOwnSubscriptionRequest.
329
- * Use `create(StripeReconcileOwnSubscriptionRequestSchema)` to create a new message.
58
+ * Describes the message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeFinishOwnSubscriptionRequest.
59
+ * Use `create(StripeFinishOwnSubscriptionRequestSchema)` to create a new message.
330
60
  */
331
- export declare const StripeReconcileOwnSubscriptionRequestSchema: GenMessage<StripeReconcileOwnSubscriptionRequest>;
61
+ export declare const StripeFinishOwnSubscriptionRequestSchema: GenMessage<StripeFinishOwnSubscriptionRequest>;
332
62
  /**
333
- * @generated from message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeReconcileOwnSubscriptionResponse
63
+ * @generated from message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeFinishOwnSubscriptionResponse
334
64
  */
335
- export type StripeReconcileOwnSubscriptionResponse = Message<"IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeReconcileOwnSubscriptionResponse"> & {
65
+ export type StripeFinishOwnSubscriptionResponse = Message<"IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeFinishOwnSubscriptionResponse"> & {
336
66
  /**
337
- * @generated from field: IT.WebServices.Fragments.Authorization.Payment.GenericSubscriptionFullRecord Record = 1;
67
+ * @generated from field: IT.WebServices.Fragments.Authorization.Payment.GenericSubscriptionRecord Record = 1;
338
68
  */
339
- Record?: GenericSubscriptionFullRecord;
69
+ Record?: GenericSubscriptionRecord;
340
70
  /**
341
71
  * @generated from field: string Error = 2;
342
72
  */
343
73
  Error: string;
344
74
  };
345
75
  /**
346
- * Describes the message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeReconcileOwnSubscriptionResponse.
347
- * Use `create(StripeReconcileOwnSubscriptionResponseSchema)` to create a new message.
76
+ * Describes the message IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeFinishOwnSubscriptionResponse.
77
+ * Use `create(StripeFinishOwnSubscriptionResponseSchema)` to create a new message.
348
78
  */
349
- export declare const StripeReconcileOwnSubscriptionResponseSchema: GenMessage<StripeReconcileOwnSubscriptionResponse>;
79
+ export declare const StripeFinishOwnSubscriptionResponseSchema: GenMessage<StripeFinishOwnSubscriptionResponse>;
350
80
  /**
351
- * rpc StripeCheckOtherSubscription (StripeCheckOtherSubscriptionRequest) returns (StripeCheckOtherSubscriptionResponse) {}
352
- *
353
81
  * @generated from service IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeInterface
354
82
  */
355
83
  export declare const StripeInterface: GenService<{
@@ -1,6 +1,4 @@
1
1
  /**
2
- * rpc StripeCheckOtherSubscription (StripeCheckOtherSubscriptionRequest) returns (StripeCheckOtherSubscriptionResponse) {}
3
- *
4
2
  * @generated from service IT.WebServices.Fragments.Authorization.Payment.Stripe.StripeInterface
5
3
  */
6
4
  export declare const StripeInterface: {
@@ -0,0 +1,199 @@
1
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { SalesTaxByPostalCodeRecord } from "./TaxRecords_pb";
3
+ import type { Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file Protos/IT/WebServices/Fragments/Authorization/Payment/Tax/BackupInterface.proto.
6
+ */
7
+ export declare const file_Protos_IT_WebServices_Fragments_Authorization_Payment_Tax_BackupInterface: GenFile;
8
+ /**
9
+ * @generated from message IT.WebServices.Fragments.Authorization.Payment.Tax.BackupAllDataRequest
10
+ */
11
+ export type BackupAllDataRequest = Message<"IT.WebServices.Fragments.Authorization.Payment.Tax.BackupAllDataRequest"> & {
12
+ /**
13
+ * @generated from field: string ClientPublicJwk = 1;
14
+ */
15
+ ClientPublicJwk: string;
16
+ };
17
+ /**
18
+ * Describes the message IT.WebServices.Fragments.Authorization.Payment.Tax.BackupAllDataRequest.
19
+ * Use `create(BackupAllDataRequestSchema)` to create a new message.
20
+ */
21
+ export declare const BackupAllDataRequestSchema: GenMessage<BackupAllDataRequest>;
22
+ /**
23
+ * @generated from message IT.WebServices.Fragments.Authorization.Payment.Tax.BackupAllDataResponse
24
+ */
25
+ export type BackupAllDataResponse = Message<"IT.WebServices.Fragments.Authorization.Payment.Tax.BackupAllDataResponse"> & {
26
+ /**
27
+ * @generated from oneof IT.WebServices.Fragments.Authorization.Payment.Tax.BackupAllDataResponse.Response_oneof
28
+ */
29
+ ResponseOneof: {
30
+ /**
31
+ * @generated from field: string ServerPublicJwk = 1;
32
+ */
33
+ value: string;
34
+ case: "ServerPublicJwk";
35
+ } | {
36
+ /**
37
+ * @generated from field: IT.WebServices.Fragments.Authorization.Payment.Tax.EncryptedTaxBackupDataRecord EncryptedRecord = 10;
38
+ */
39
+ value: EncryptedTaxBackupDataRecord;
40
+ case: "EncryptedRecord";
41
+ } | {
42
+ case: undefined;
43
+ value?: undefined;
44
+ };
45
+ };
46
+ /**
47
+ * Describes the message IT.WebServices.Fragments.Authorization.Payment.Tax.BackupAllDataResponse.
48
+ * Use `create(BackupAllDataResponseSchema)` to create a new message.
49
+ */
50
+ export declare const BackupAllDataResponseSchema: GenMessage<BackupAllDataResponse>;
51
+ /**
52
+ * @generated from message IT.WebServices.Fragments.Authorization.Payment.Tax.EncryptedTaxBackupDataRecord
53
+ */
54
+ export type EncryptedTaxBackupDataRecord = Message<"IT.WebServices.Fragments.Authorization.Payment.Tax.EncryptedTaxBackupDataRecord"> & {
55
+ /**
56
+ * @generated from field: bytes EncryptionIV = 1;
57
+ */
58
+ EncryptionIV: Uint8Array;
59
+ /**
60
+ * @generated from field: bytes Data = 10;
61
+ */
62
+ Data: Uint8Array;
63
+ };
64
+ /**
65
+ * Describes the message IT.WebServices.Fragments.Authorization.Payment.Tax.EncryptedTaxBackupDataRecord.
66
+ * Use `create(EncryptedTaxBackupDataRecordSchema)` to create a new message.
67
+ */
68
+ export declare const EncryptedTaxBackupDataRecordSchema: GenMessage<EncryptedTaxBackupDataRecord>;
69
+ /**
70
+ * @generated from message IT.WebServices.Fragments.Authorization.Payment.Tax.RestoreAllDataRequest
71
+ */
72
+ export type RestoreAllDataRequest = Message<"IT.WebServices.Fragments.Authorization.Payment.Tax.RestoreAllDataRequest"> & {
73
+ /**
74
+ * @generated from oneof IT.WebServices.Fragments.Authorization.Payment.Tax.RestoreAllDataRequest.Request_oneof
75
+ */
76
+ RequestOneof: {
77
+ /**
78
+ * @generated from field: IT.WebServices.Fragments.Authorization.Payment.Tax.RestoreAllDataRequest.RestoreMode Mode = 1;
79
+ */
80
+ value: RestoreAllDataRequest_RestoreMode;
81
+ case: "Mode";
82
+ } | {
83
+ /**
84
+ * @generated from field: IT.WebServices.Fragments.Authorization.Payment.Tax.TaxBackupDataRecord Record = 10;
85
+ */
86
+ value: TaxBackupDataRecord;
87
+ case: "Record";
88
+ } | {
89
+ case: undefined;
90
+ value?: undefined;
91
+ };
92
+ };
93
+ /**
94
+ * Describes the message IT.WebServices.Fragments.Authorization.Payment.Tax.RestoreAllDataRequest.
95
+ * Use `create(RestoreAllDataRequestSchema)` to create a new message.
96
+ */
97
+ export declare const RestoreAllDataRequestSchema: GenMessage<RestoreAllDataRequest>;
98
+ /**
99
+ * @generated from enum IT.WebServices.Fragments.Authorization.Payment.Tax.RestoreAllDataRequest.RestoreMode
100
+ */
101
+ export declare enum RestoreAllDataRequest_RestoreMode {
102
+ /**
103
+ * Wipe entire tax database and restore tax. Any new tax will be deleted.
104
+ *
105
+ * @generated from enum value: Wipe = 0;
106
+ */
107
+ Wipe = 0,
108
+ /**
109
+ * Overwrite all records with corresponding record. Will not delete new records not in list.
110
+ *
111
+ * @generated from enum value: Overwrite = 1;
112
+ */
113
+ Overwrite = 1,
114
+ /**
115
+ * Only restore missing tax records. Will not overwrite tax records that already exist.
116
+ *
117
+ * @generated from enum value: MissingOnly = 2;
118
+ */
119
+ MissingOnly = 2
120
+ }
121
+ /**
122
+ * Describes the enum IT.WebServices.Fragments.Authorization.Payment.Tax.RestoreAllDataRequest.RestoreMode.
123
+ */
124
+ export declare const RestoreAllDataRequest_RestoreModeSchema: GenEnum<RestoreAllDataRequest_RestoreMode>;
125
+ /**
126
+ * @generated from message IT.WebServices.Fragments.Authorization.Payment.Tax.RestoreAllDataResponse
127
+ */
128
+ export type RestoreAllDataResponse = Message<"IT.WebServices.Fragments.Authorization.Payment.Tax.RestoreAllDataResponse"> & {
129
+ /**
130
+ * @generated from field: int32 NumRecordsRestored = 1;
131
+ */
132
+ NumRecordsRestored: number;
133
+ /**
134
+ * @generated from field: int32 NumRecordsSkipped = 2;
135
+ */
136
+ NumRecordsSkipped: number;
137
+ /**
138
+ * @generated from field: int32 NumRecordsOverwriten = 3;
139
+ */
140
+ NumRecordsOverwriten: number;
141
+ /**
142
+ * @generated from field: int32 NumRecordsWiped = 4;
143
+ */
144
+ NumRecordsWiped: number;
145
+ };
146
+ /**
147
+ * Describes the message IT.WebServices.Fragments.Authorization.Payment.Tax.RestoreAllDataResponse.
148
+ * Use `create(RestoreAllDataResponseSchema)` to create a new message.
149
+ */
150
+ export declare const RestoreAllDataResponseSchema: GenMessage<RestoreAllDataResponse>;
151
+ /**
152
+ * @generated from message IT.WebServices.Fragments.Authorization.Payment.Tax.TaxBackupDataRecord
153
+ */
154
+ export type TaxBackupDataRecord = Message<"IT.WebServices.Fragments.Authorization.Payment.Tax.TaxBackupDataRecord"> & {
155
+ /**
156
+ * Generic byte structure to save all application specific data for tax
157
+ *
158
+ * @generated from field: bytes ExtraData = 1;
159
+ */
160
+ ExtraData: Uint8Array;
161
+ /**
162
+ * TaxRecord
163
+ *
164
+ * @generated from field: IT.WebServices.Fragments.Authorization.Payment.Tax.SalesTaxByPostalCodeRecord SalesTaxRecord = 2;
165
+ */
166
+ SalesTaxRecord?: SalesTaxByPostalCodeRecord;
167
+ };
168
+ /**
169
+ * Describes the message IT.WebServices.Fragments.Authorization.Payment.Tax.TaxBackupDataRecord.
170
+ * Use `create(TaxBackupDataRecordSchema)` to create a new message.
171
+ */
172
+ export declare const TaxBackupDataRecordSchema: GenMessage<TaxBackupDataRecord>;
173
+ /**
174
+ * Service for Payment backup fragment interface
175
+ *
176
+ * @generated from service IT.WebServices.Fragments.Authorization.Payment.Tax.BackupInterface
177
+ */
178
+ export declare const BackupInterface: GenService<{
179
+ /**
180
+ * Export a list of all data.
181
+ *
182
+ * @generated from rpc IT.WebServices.Fragments.Authorization.Payment.Tax.BackupInterface.BackupAllData
183
+ */
184
+ backupAllData: {
185
+ methodKind: "server_streaming";
186
+ input: typeof BackupAllDataRequestSchema;
187
+ output: typeof BackupAllDataResponseSchema;
188
+ };
189
+ /**
190
+ * Restore a list of all data.
191
+ *
192
+ * @generated from rpc IT.WebServices.Fragments.Authorization.Payment.Tax.BackupInterface.RestoreAllData
193
+ */
194
+ restoreAllData: {
195
+ methodKind: "client_streaming";
196
+ input: typeof RestoreAllDataRequestSchema;
197
+ output: typeof RestoreAllDataResponseSchema;
198
+ };
199
+ }>;
@@ -0,0 +1,42 @@
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Message } from "@bufbuild/protobuf";
3
+ /**
4
+ * Describes the file Protos/IT/WebServices/Fragments/Authorization/Payment/Tax/TaxRecords.proto.
5
+ */
6
+ export declare const file_Protos_IT_WebServices_Fragments_Authorization_Payment_Tax_TaxRecords: GenFile;
7
+ /**
8
+ * @generated from message IT.WebServices.Fragments.Authorization.Payment.Tax.SalesTaxByPostalCodeRecord
9
+ */
10
+ export type SalesTaxByPostalCodeRecord = Message<"IT.WebServices.Fragments.Authorization.Payment.Tax.SalesTaxByPostalCodeRecord"> & {
11
+ /**
12
+ * ISO 3166-1 alpha-2
13
+ *
14
+ * @generated from field: string CountryCode = 1;
15
+ */
16
+ CountryCode: string;
17
+ /**
18
+ * @generated from field: string PostalCode = 2;
19
+ */
20
+ PostalCode: string;
21
+ /**
22
+ * ISO 3166-2
23
+ *
24
+ * @generated from field: string SubdivisionCode = 3;
25
+ */
26
+ SubdivisionCode: string;
27
+ /**
28
+ * Tax rate 1.234% = 1234 or taxrate * 100000
29
+ *
30
+ * @generated from field: uint32 TaxRateThousandPercents = 11;
31
+ */
32
+ TaxRateThousandPercents: number;
33
+ /**
34
+ * @generated from field: string StripeTaxRateId = 21;
35
+ */
36
+ StripeTaxRateId: string;
37
+ };
38
+ /**
39
+ * Describes the message IT.WebServices.Fragments.Authorization.Payment.Tax.SalesTaxByPostalCodeRecord.
40
+ * Use `create(SalesTaxByPostalCodeRecordSchema)` to create a new message.
41
+ */
42
+ export declare const SalesTaxByPostalCodeRecordSchema: GenMessage<SalesTaxByPostalCodeRecord>;
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Service for Payment backup fragment interface
3
+ *
4
+ * @generated from service IT.WebServices.Fragments.Authorization.Payment.Tax.BackupInterface
5
+ */
6
+ export declare const BackupInterface: {
7
+ readonly typeName: "IT.WebServices.Fragments.Authorization.Payment.Tax.BackupInterface";
8
+ readonly methods: {
9
+ /**
10
+ * Export a list of all data.
11
+ *
12
+ * @generated from rpc IT.WebServices.Fragments.Authorization.Payment.Tax.BackupInterface.BackupAllData
13
+ */
14
+ readonly backupAllData: {
15
+ readonly name: "BackupAllData";
16
+ readonly I: any;
17
+ readonly O: any;
18
+ readonly kind: any;
19
+ };
20
+ /**
21
+ * Restore a list of all data.
22
+ *
23
+ * @generated from rpc IT.WebServices.Fragments.Authorization.Payment.Tax.BackupInterface.RestoreAllData
24
+ */
25
+ readonly restoreAllData: {
26
+ readonly name: "RestoreAllData";
27
+ readonly I: any;
28
+ readonly O: any;
29
+ readonly kind: any;
30
+ };
31
+ };
32
+ };
@@ -0,0 +1,3 @@
1
+ export * from './BackupInterface_pb';
2
+ export * from './TaxRecords_pb';
3
+ export * as connect from './connect';
@@ -9,3 +9,4 @@ export * as Fortis from './Fortis';
9
9
  export * as Manual from './Manual';
10
10
  export * as Paypal from './Paypal';
11
11
  export * as Stripe from './Stripe';
12
+ export * as Tax from './Tax';