@thefittingroom/sdk 2.0.0-alpha-3 → 2.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.
package/dist/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * thefittingroom v2.0.0-alpha-3 (2025-04-18T19:19:57.543Z)
2
+ * thefittingroom v2.0.0-alpha-3 (2025-07-15T19:34:00.661Z)
3
3
  * Copyright 2022-present, TheFittingRoom, Inc. All rights reserved.
4
4
  */
5
5
  // Code generated by tygo. DO NOT EDIT.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * thefittingroom v2.0.0-alpha-3 (2025-04-18T19:19:57.543Z)
2
+ * thefittingroom v2.0.0-alpha-3 (2025-07-15T19:34:00.661Z)
3
3
  * Copyright 2022-present, TheFittingRoom, Inc. All rights reserved.
4
4
  */
5
5
  var t=Object.freeze({__proto__:null}),e=Object.freeze({__proto__:null});
@@ -0,0 +1,12 @@
1
+ {
2
+ "type": "service_account",
3
+ "project_id": "fittingroom-dev-5d248",
4
+ "private_key_id": "0d6e688c7c8ae9cba7df87dea87239432b65979f",
5
+ "private_key": "-----BEGIN PRIVATE KEY-----\nMIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQDj+1oZBj8Rlr41\nJWus6G43U5TW+EFDdWxMi76A7PO3EpFzUNlQfTOKUFkqz5rF9kut/34a6wnaf8kR\nU8DMLMYf+z2efirExm314RfpwiojCQrGnshducOrVP/eLXFuALdc7zckhvi2ssnn\n4iF5CvKFty4euhf4LIm8jW+iPvq/3tqI8N5Fzhh380f8KGDlYFPxCJ/RYN07Jbr2\nqWwLIYslxuP5+hEwQnvOFEg2AkQK2Nb6Mx+wRCNP1geTOLSgK/s0m4AB0yDII3ir\n2esDNCIZEfmaP3nVe3SBaB8ISt/Ve/ioyx/yApkTnGqhcjcO2a9DxBB+5CZCmDgq\njpoc60+9AgMBAAECggEAAPFWIwpakmkMKk4Y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w+/\nIDGtd0se5CnJDQVybIq/BJQOnPPixvKM8DYP9FDYR2yVCQavIdq3VUKyLLHkXbaZ\nOKAqysMRcO8yXpsw7FZ2W2/1MG5GWuqPdSh6FcbVCEVY1BJGgF3pGN5qPijm7yU0\n83lLcrA0TzzuNuTPFEMo0A==\n-----END PRIVATE KEY-----\n",
6
+ "client_email": "firebase-adminsdk-7nif4@fittingroom-dev-5d248.iam.gserviceaccount.com",
7
+ "client_id": "118093212957908118911",
8
+ "auth_uri": "https://accounts.google.com/o/oauth2/auth",
9
+ "token_uri": "https://oauth2.googleapis.com/token",
10
+ "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
11
+ "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/firebase-adminsdk-7nif4%40fittingroom-dev-5d248.iam.gserviceaccount.com"
12
+ }
package/go.mod ADDED
@@ -0,0 +1,7 @@
1
+ module github.com/thefittingroom/shop-sdk
2
+
3
+ go 1.24.4
4
+
5
+ replace github.com/thefittingroom/tfr-backend => ../tfr-backend
6
+
7
+ require github.com/thefittingroom/tfr-backend v0.0.0-00010101000000-000000000000 // indirect
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thefittingroom/sdk",
3
- "version": "2.0.0-alpha-3",
3
+ "version": "2.0.0",
4
4
  "description": "the fitting room SDK",
5
5
  "type": "module",
6
6
  "main": "./dist/esm/index.js",
package/tygo.yaml ADDED
@@ -0,0 +1,15 @@
1
+ packages:
2
+ - path: "github.com/thefittingroom/tfr-backend/pkg/types/errors"
3
+ output_path: "src/api/errors.ts"
4
+
5
+ - path: "github.com/thefittingroom/tfr-backend/pkg/types/requests"
6
+ output_path: "src/api/requests.ts"
7
+
8
+ - path: "github.com/thefittingroom/tfr-backend/pkg/types/responses"
9
+ output_path: "src/api/responses.ts"
10
+
11
+ - path: "github.com/thefittingroom/tfr-backend/pkg/types/enums"
12
+ output_path: "src/api/enums.ts"
13
+
14
+ - path: "github.com/thefittingroom/tfr-backend/pkg/types/common"
15
+ output_path: "src/api/common.ts"